You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/07/31 23:50:15 UTC

[jira] Resolved: (XBEAN-30) NPE using XBeanHelper.createBeanDefinitionReader and spring 2.0-rc2

     [ http://issues.apache.org/jira/browse/XBEAN-30?page=all ]

Guillaume Nodet resolved XBEAN-30.
----------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

Add a test case and fix the NPE

Author: gnodet
Date: Mon Jul 31 14:51:00 2006
New Revision: 427307

URL: http://svn.apache.org/viewvc?rev=427307&view=rev
Log:
XBEAN-30: NPE using XBeanHelper.createBeanDefinitionReader and spring 2.0-rc2

Modified:
   geronimo/xbean/trunk/xbean-spring-itests/core/src/main/java/org/apache/xbean/spring/context/RestaurantUsingXBeanTest.java
   geronimo/xbean/trunk/xbean-spring-v2/src/main/java/org/apache/xbean/spring/context/v2/XBeanXmlBeanDefinitionReader.java


> NPE using XBeanHelper.createBeanDefinitionReader and spring 2.0-rc2
> -------------------------------------------------------------------
>
>                 Key: XBEAN-30
>                 URL: http://issues.apache.org/jira/browse/XBEAN-30
>             Project: XBean
>          Issue Type: Bug
>          Components: spring
>    Affects Versions: 2.5
>         Environment: xbean-spring-2.5.jar
> spring-2.0-rc2.jar
>            Reporter: Guillaume Nodet
>         Assigned To: Guillaume Nodet
>             Fix For: 2.6
>
>
> Exception in thread "JMX Connector Thread [service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi]" java.lang.IllegalStateException: Could not find valid implement
> ation for: 2.0-rc2
>         at org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBeanHelper.java:24)
>         at org.apache.xbean.spring.context.impl.XBeanXmlBeanFactory.<init>(XBeanXmlBeanFactory.java:72)
>         at org.apache.xbean.spring.context.impl.XBeanXmlBeanFactory.<init>(XBeanXmlBeanFactory.java:37)
>         at org.apache.xbean.spring.jndi.SpringInitialContextFactory.createContext(SpringInitialContextFactory.java:105)
>         at org.apache.xbean.spring.jndi.SpringInitialContextFactory.loadContext(SpringInitialContextFactory.java:96)
>         at org.apache.xbean.spring.jndi.SpringInitialContextFactory.getInitialContext(SpringInitialContextFactory.java:83)
>         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
>         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
>         at javax.naming.InitialContext.init(InitialContext.java:223)
>         at javax.naming.InitialContext.<init>(InitialContext.java:197)
>         at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:629)
>         at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
>         at org.springframework.jmx.support.ConnectorServerFactoryBean$1.run(ConnectorServerFactoryBean.java:153)
> Caused by: java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at org.apache.xbean.spring.context.impl.XBeanHelper.createBeanDefinitionReader(XBeanHelper.java:22)
>         ... 12 more
> Caused by: java.lang.NullPointerException
>         at org.springframework.beans.factory.xml.ResourceEntityResolver.<init>(ResourceEntityResolver.java:64)
>         at org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.<init>(XBeanXmlBeanDefinitionReader.java:60)
>         ... 17 more

-- 
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