NPE in JCAResourceImpl ---------------------- Key: GERONIMO-2477 URL: http://issues.apache.org/jira/browse/GERONIMO-2477 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Affects Versions: 1.2 Environment: All Reporter: Anita Kulshreshtha Assigned To: Anita Kulshreshtha Priority: Minor Fix For: 1.2
The NPE is thrown while running jconsole. To reproduce click on JCAResource. Geronimo Application Server started 19:43:00,156 WARN [MBeanGBeanBridge] Exception while getting attribute adminObjects javax.management.ReflectionException: null nested exception is java.lang.NullPointerExcept ion java.lang.NullPointerException at org.apache.geronimo.j2ee.management.impl.Util.getObjectNames(Util.java:33) at org.apache.geronimo.connector.JCAResourceImpl.getAdminObjects(JCAResourceImpl.j ava:106) at org.apache.geronimo.connector.JCAResourceImpl$$FastClassByCGLIB$$f01e0455.invok e(<generated>) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.ja va:38) at org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:3 85) at org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java :681) at org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.getAttribute(MBeanGBeanBridge.j ava:118) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.getAttributes(MBeanGBeanBridge. java:143) at mx4j.server.interceptor.InvokerMBeanServerInterceptor.getAttributes(InvokerMBea nServerInterceptor.java:302) at mx4j.server.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBea nServerInterceptor.java:125) at mx4j.server.interceptor.SecurityMBeanServerInterceptor.getAttributes(SecurityMB eanServerInterceptor.java:92) at mx4j.server.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBea nServerInterceptor.java:125) at mx4j.server.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBea nServerInterceptor.java:125) at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.getAttributes( ContextClassLoaderMBeanServerInterceptor.java:225) at mx4j.server.MX4JMBeanServer.getAttributes(MX4JMBeanServer.java:1003) at mx4j.remote.rmi.RMIConnectionInvoker.getAttributes(RMIConnectionInvoker.java:18 8) at sun.reflect.GeneratedMethodAccessor247.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25) at java.lang.reflect.Method.invoke(Method.java:324) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira