Getting NullPointerException when we load jolokia-jvm.jar through bootclasspath #154
Milestone
Comments
You are absolutely right, Jolokia shouldn't rely to the 'will fix this ASAP. thanks for reporting .... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I’m getting the below exception when we load jolokia-jvm.jar through bootclasspath
Java.lang.NullPointerException\n\tat org.jolokia.util.ServiceObjectFactory.readServiceDefinitions(ServiceObjectFactory.java:79)\n\tat org.jolokia.util.ServiceObjectFactory.createServiceObjects(ServiceObjectFactory.java:65)\n\tat org.jolokia.converter.json.ObjectToJsonConverter.addSimplifiers(ObjectToJsonConverter.java:350)\n\tat org.jolokia.converter.json.ObjectToJsonConverter.(ObjectToJsonConverter.java:80)\n\tat org.jolokia.converter.Converters.(Converters.java:45)\n\tat
…………………
…….
..
In the Jolokia agent most of the places are using .class.getClassLoader() method for loading classes. As per the Java doc this method will return null in such implementations if this class was loaded by the bootstrap class loader.
Can you please look into this issue?
The text was updated successfully, but these errors were encountered: