4 Replies Latest reply on Apr 29, 2005 12:12 AM by sharma_arun_se

    CMP, MySQL get NPE in JDBCEntityBridge.loadLoadGroups


      Hell there,

      i am trying to deploy a few entity beans in CMP with a mySQL DS. I am getter a wired error. (Especially cause its a NPE.)

      The interfaces and deployment descriptors are generated by XDoclet.
      The JBoss is Version 3.2 (means DS is deployed by mysql-ds.xml)

      The Error is as follows:

      16:51:53,843 ERROR [EntityContainer] Starting failed
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadLoadGroups(JDBCEntityBridge.java:977)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.resolveRelationships(JDBCEntityBridge.java:290)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.resolveRelationships(JDBCStoreManager.java:445)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:379)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342)

      (strange thing: if i change the order of the tags, the error always occurs before the last bean is deployed)

      Can anyone solve this miracle?