0 Replies Latest reply on Aug 1, 2003 3:06 PM by chays

    Couldn't Create Entity Command  - DeploymentError

    chays Newbie

      I am upgrading from JBOSS 3.06 to 3.2.1 and one on my EJBs fails on deployment. Validationf all DTDs are turned on and everything validates. I have lloed at the source code for the JDBCCommandFactory and have not gotten any clues on why this NPE is being thrown. Can anyone help? Here is the error from the server log with TRACE turned on:


      2003-07-31 16:17:39,914 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=fn2/farina/domain/FrameRelation,service=EJB
      2003-07-31 16:17:39,915 INFO [org.jboss.ejb.EntityContainer] Starting
      2003-07-31 16:17:39,915 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env for EJB: FrameRelation
      2003-07-31 16:17:39,915 DEBUG [org.jboss.ejb.EntityContainer] TCL: java.net.URLClassLoader@d1b72d
      2003-07-31 16:17:39,975 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBLocalReference fn2/farina/domain/FERelation
      2003-07-31 16:17:39,976 DEBUG [org.jboss.ejb.EntityContainer] Binding fn2/farina/domain/FERelation to bean source: FERelation
      2003-07-31 16:17:39,981 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBLocalReference fn2/farina/domain/RelationType
      2003-07-31 16:17:39,981 DEBUG [org.jboss.ejb.EntityContainer] Binding fn2/farina/domain/RelationType to bean source: RelationType
      2003-07-31 16:17:39,984 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBLocalReference fn2/farina/domain/MetaRelation
      2003-07-31 16:17:39,984 DEBUG [org.jboss.ejb.EntityContainer] Binding fn2/farina/domain/MetaRelation to bean source: MetaRelation
      2003-07-31 16:17:39,987 DEBUG [org.jboss.ejb.EntityContainer] Binding an EJBLocalReference fn2/farina/domain/Frame
      2003-07-31 16:17:39,987 DEBUG [org.jboss.ejb.EntityContainer] Binding fn2/farina/domain/Frame to bean source: Frame
      2003-07-31 16:17:39,990 DEBUG [org.jboss.ejb.EntityContainer] Binding securityDomain: java:/jaas/farinaDomain to JDNI ENC as: security/security-domain
      2003-07-31 16:17:39,994 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env for EJB: FrameRelation
      2003-07-31 16:17:40,121 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] Bound EJBLocalHome of FrameRelation to fn2/farina/domain/FrameRelation
      2003-07-31 16:17:40,122 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] Starting InvalidableEntityInstanceCache...
      2003-07-31 16:17:40,122 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.FrameRelation] Initializing CMP plugin for FrameRelation
      2003-07-31 16:17:44,932 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2003-07-31 16:17:44,980 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2003-07-31 16:17:44,980 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2003-07-31 16:17:44,990 ERROR [org.jboss.ejb.EntityContainer] Starting failed
      org.jboss.deployment.DeploymentException: Couldn't create entity command: ; - nested throwable: (java.lang.NullPointerException)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateEntityCommand(JDBCCommandFactory.java:137)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:481)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:410)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:170)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      at $Proxy11.start(Unknown Source)


      By the way this is the final EJB to be deployed beofre the session beans. Thank you for your help.