0 Replies Latest reply on Feb 27, 2002 6:07 AM by Jimmy

    Exception during creation of Entity bean in JBoss 3 Beta

    Jimmy Newbie

      I get the following exception when I try to deploy entity beans in the beta. If I put the same bean in the alpha release, the bean deploys correctly. I've even tried using the ejbselect example in package org.jboss.test.cmp2.ejbselect; I've used to ejb-jar.xml, jbosscmp-jdbc.xml and jboss.xml found on the cvs. I'm using mysql.

      Got any ideas? Thanks.

      18:54:45,368 ERROR [EntityContainer] Exception in service lifecyle operation: create
      java.lang.NullPointerException
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.createTypeSimple(JDBCTypeFactory.java:109)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory.getJDBCType(JDBCTypeFactory.java:75)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.(JDBCAbstractCMPFieldBridge
      java:55)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.(JDBCCMP2xFieldBridge.java:43)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.createCMPField(JDBCEntityBridge.java:274)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.loadCMPFields(JDBCEntityBridge.java:141)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:101)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.create(JDBCStoreManager.java:288)
      at org.jboss.ejb.plugins.CMPPersistenceManager.create(CMPPersistenceManager.java:134)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:330)
      at org.jboss.ejb.Container.invoke(Container.java:745)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:995)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:777)
      at $Proxy2.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:275)
      at java.lang.reflect.Method.invoke(Native Method)