8 Replies Latest reply on Mar 12, 2002 3:21 PM by dsundstrom

    javax.ejb.EJBException in ejbSelect, embedded exception is n

    rinehart

      Okay. This is the last puzzler of the day for me. Still working on the same test application for ejb's with compound primary keys. I'm getting an EJBException on my ejbSelect method. I've reviewed the server.log file, this EJB QL appears to be well formed, it's getting parsed properly into a well formed SQL statement. It's getting passed parameters for a known entity. But it's not executing properly for some reason. The client console output follows. I've attached the server.log and default.script.

      Oh, and the build, its a build as of 3/10/2002 sometime this afternoon Pacific-Tijuana I wish I was there time. :)


      client console output:

      Getting initial context.

      Context retrieved.Getting ejb/PrimitiveLongEJB.
      Creating PrimativeLongRemote object.
      PrimitiveLongRemote created.
      Getting ejb/ObjLongEJB.
      Creating ObjLongRemote object.
      java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      java.rmi.ServerException: Error in ejbSelectPrimitiveLongLocal
      Embedded Exception
      null; nested exception is:
      javax.ejb.EJBException: Error in ejbSelectPrimitiveLongLocal
      Embedded Exception
      null
      java.rmi.ServerException: Error in ejbSelectPrimitiveLongLocal
      Embedded Exception
      null; nested exception is:
      javax.ejb.EJBException: Error in ejbSelectPrimitiveLongLocal
      Embedded Exception
      null
      javax.ejb.EJBException: Error in ejbSelectPrimitiveLongLocal
      Embedded Exception
      null
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:96)
      at $Proxy2.create(Unknown Source)
      at com.sextanttech.client.Client.main(Client.java:43)
      java.lang.NullPointerException
      <<no stack trace available>>