solution: need to add
to wildfly module "sun.jdk"
If you can confirm that this problem isn't caused by us (eg outdated javamelody), you should report this to the javamelody project. They've fixed similar problems in the past. Editing wildfly's built-in modules is a real pain in the neck.