4 Replies Latest reply on Mar 15, 2005 12:50 AM by mduffy_lists

    Nebulous Null Pointer

    mduffy_lists

      I am getting a null pointer exception at start up (using the latest EJB 3.0 Preview Release). I know that it means there is something wrong in myejb.ejb3; however, I get this very long stack trace that has all kinds of references to JBoss and Hibernate, but no reference to the cause of the problem in myejb.ejb3.

      Does anyone have any guidance on ow to debug this?

      Here are the first few lines of the stack trace.

      01:00:18,045 ERROR [Ejb3Module] Starting failed
      jboss.j2ee:service=EJB3,module=myejb.ejb3
      java.lang.NullPointerException
      at org.jboss.ejb3.entity.EntityToHibernateXml
      .getAnnotatedProperty(EntityToHibernateXml.java:305)
      at org.jboss.ejb3.entity.EntityToHibernateXml
      .getAnnotatedProperty(EntityToHibernateXml.java:300)
      at org.jboss.ejb3.entity.EntityToHibernateXml
      .handleBasicClass(EntityToHibernateXml.java:1815)
      at org.jboss.ejb3.entity.EntityToHibernateXml
      .handleClass(EntityToHibernateXml.java:1431)
      at org.jboss.ejb3.entity.EntityToHibernateXml
      .convert(EntityToHibernateXml.java:134)
      at org.jboss.ejb3.entity.HibernateSessionFactory
      .createSessionFactory(HibernateSessionFactory.java:144)