Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/GERONIMO-349 Here is an overview of the issue: --------------------------------------------------------------------- Key: GERONIMO-349 Summary: Connector impl assumes ResourceAdapter.getXAResources != null Type: Bug Status: Open Priority: Major Project: Apache Geronimo Components: connector Versions: 1.0-M3 Assignee: Aaron Mulder Reporter: Aaron Mulder Created: Sat, 2 Oct 2004 6:09 PM Updated: Sat, 2 Oct 2004 6:09 PM Description: Deploy a resource adapter that does not support XA and where the ResourceAdapter implemntation of getXAResources returns null. This is allowed by the spec: http://java.sun.com/j2ee/1.4/docs/api/javax/resource/spi/ResourceAdapter.html#getXAResources(javax.resource.spi.ActivationSpec[]) During Geronimo startup, I get: 20:44:09,098 ERROR [CollectionProxy] Listener threw exception java.lang.reflect.InvocationTargetException at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.getValue(GBeanMBeanAttribute.java:316) at org.apache.geronimo.gbean.jmx.GBeanMBean.getAttribute(GBeanMBean.java:630) at org.apache.geronimo.gbean.jmx.RawInvoker.getAttribute(RawInvoker.java:53) ... Caused by: java.lang.NullPointerException at org.apache.geronimo.connector.ActivationSpecWrapper.getRecoveryXAResources(ActivationSpecWrapper.java:159) at org.apache.geronimo.connector.ActivationSpecWrapper$$FastClassByCGLIB$$aaa078c1.invoke(<generated>) at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87) at org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38) at org.apache.geronimo.gbean.jmx.GBeanMBeanAttribute.getValue(GBeanMBeanAttribute.java:313) ... 52 more It appears that the ActivationSpecWrapper is assuming that the method would return an empty array and it blows up if the method returns null. --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira
