1 Reply Latest reply on Mar 5, 2002 11:05 AM by morten

    CreateException coursed by NullPointerException

    morten

      I am trying to figure out what the JBoss is telling me. I get the following message:

      javax.ejb.CreateException: Could not create entity:java.lang.NullPointerException
      At org.jboss.ejb.plugins.jaws.jdbc.JDBCCreateEntityCommand.execute(JDBCCreateEntityCommand.java:150)

      I tried to read the sourcecode of jboss to see whether I could detect, the course of the problem, but I am not capable of doing that. I can't see where the NullPointerException is raised...

      Please guide me in the right direction

      Morten Andersen
      Denmark

        • 1. Re: CreateException coursed by NullPointerException
          morten

          The problem is solved:
          I had changed one of the field values in the bean from "point" to "points", so that the property-methods where "setPoints(...)" and "getPoints()" and the cmp-field name was: "points", but the public field in the bean itself was named: "point". It was this that coursed the problem.

          Hope this can help someone else.

          Morten Andersen
          Denmark