2 Replies Latest reply on Sep 19, 2002 5:14 PM by ramanlalv

    NullPointerException in org.jboss.ejb.plugins.local.EntityPr

    ramanlalv

      I have a simple BMP entity bean.

      I can create the bean and can see that ejbCreate method called and my JDBC code does create the entity in the db table.

      In the client app, after the create, I attempt to access the one of the remote interface methods. I get a null pointer exception as follows:

      java.lang.NullPointerException
      at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38)
      at $Proxy3.getId(Unknown Source)
      at com.ramanlal.sessionmanagement.test.EJBTest.run(EJBTest.java:78)
      at java.lang.Thread.run(Thread.java:536)

      Any ideas?

      The same code (create and getId()) works fine in a servlet deployed in JBoss.

      I am using JBoss 3.0.0 + Tomcat 4.0.3

      Vikash