env: wildfly10
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.
Tried with latest version 1.62.0 problem still exists.
Reported to javamelody project https://github.com/javamelody/javamelody/issues/585