why when i tried to invoke "init" or anything else on a mbean
it always give me a runtimeexception
ConnectorFactoryService.getObjectName(), server:
com.sun.management.jmx.MBeanServerImpl@4d2e5f, object name:
Factory:name=JMX, instance: Factory:name=JMX
Found Factory: DefaultDomain:name=ConnectorFactory
TestClient.main(), caught: javax.management.RuntimeMBeanException:
RuntimeException thrown in operation init, target:
java.lang.NullPointerException
javax.management.RuntimeMBeanException: RuntimeException thrown in operation
init
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1640)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at test.jboss.jmx.TestClient.main(TestClient.java:69)
thank in advance