facebook

Getting java.lang.NullPointerException when EJB is invoked

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #309255 Reply

    babu
    Member

    Hi Experts,

    I am running my standalone EJB client(java program) in MyEclipse and I am hitting the below exception. I use weblogic server 10.3 and the ejb is implemented using EJB3 API. Did I miss any libraries?. Can somebody help me in fixing this issue?

    Question 2. When we deploy the bean using JAR file, what would be its complete JNDI name that we must use in the client code to get its stub?

    java.lang.NullPointerException at com.sun.corba.se.impl.io.ValueHandlerImpl.writeReplace(ValueHandlerImpl.java:452)
    at om.sun.corba.se.impl.encoding.CDROutputStream_1_0.writeRMIIIOPValueType(CDROutputStream_1_0.java:761)
    at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:850)
    at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:864)
    at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:659)
    at com.sun.corba.se.impl.encoding.CDROutputStream.write_value(CDROutputStream.java:232)
    at com.tasks._CustomerTasks_yhbcow_CustomerTasksRemoteIntf_Stub.addCustomer(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) …..

Viewing 1 post (of 1 total)
Reply To: Getting java.lang.NullPointerException when EJB is invoked

You must be logged in to post in the forum log in