1 Reply Latest reply on Jul 11, 2002 11:59 AM by Dain Sundstrom

    Nullpointer in LocalHomeProxy class

    Dave Newbie

      Hi,

      I have a problem running a client program to test my Entity bean.
      I have an Entity bean, with local implementation (PageBean, LocalPage, LocalPageHome). I can do the lookup, but everytime I do a create I get this nullpointer exception in the LocalHomeProxy class.

      run.client:
      [java] java.lang.NullPointerException
      [java] java.lang.NullPointerException
      [java] at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110)
      [java] at $Proxy0.create(Unknown Source)
      [java] at com.xcago.eassist.testing.PageList.main(PageList.java:46)

      I'm using jboss 3.0 with tomcat 4.0.3 integrated. The testclient is run on the server machine.

      Can anyone help me or tell me what I'm doing wrong??

      TIA,
      Dave

        • 1. Re: Nullpointer in LocalHomeProxy class
          Dain Sundstrom Master

          This is a very weird error. It looks like you have an uninitialized proxy, which shouldn't be possible. Are you running in the server Java Virtual Machine? Do you wait until your application is completely deployed before running the test code?

          If the answer is yes to both, post a bug report at souceforge along with a small test case.