[jboss-dev-forums] [Design of the JBoss EJB Container] - NPE in JDBCStoreManager

scott.stark@jboss.org do-not-reply at jboss.com
Mon Oct 20 03:37:34 EDT 2008


With the conf/jboss-service.xml refactoring, I'm seeing the following NPE for some tests (org.jboss.test.hello.test.HelloTimingStressTestCase).


  | 00:28:25,855 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:module="hello.jar",service=EjbModule state=Create mode=Manual requiredState=Installed
  | java.lang.NullPointerException
  | 	at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:415)
  | 	at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368)
  | 	at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172)
  | 	at org.jboss.ejb.EjbModule.startService(EjbModule.java:511)
  | 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
  | ...
  | 

It looks like the EjbModule is starting the pm before the entity container has been started. Why don't we start the pm from the EntityContainer.startService?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183129#4183129

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183129



More information about the jboss-dev-forums mailing list