Hello everybody
I am trying to deploy a Bean that has a One to Many relationship to itself and I get a
java.lang.NullPointerException
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:46)
at org.jboss.ejb.plugins.cmp.CMPStoreManager.start(CMPStoreManager.java:142)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:137)
at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:169)
at org.jboss.ejb.EntityContainer.start(EntityContainer.java:354)
at org.jboss.ejb.Application.start(Application.java:213)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:379)
at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:305)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:491)
at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:469)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:231)
at java.lang.reflect.Method.invoke(Native Method)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:633)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:308)
at java.lang.Thread.run(Thread.java:484)
Is there something wrong with my ejb-jar.xml (I doubt that) or maybe still a Bug of jBoss 3.0 or even that self relations are not allowed?
Any help is appreciated.
Thanx, Jens
Maybe you must declare the bean to be reentrant?