facebook

Getting java.lang.NullPointerException when EJB is invoked

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #309295 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) …..

    #309324 Reply

    support-joy
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Getting java.lang.NullPointerException when EJB is invoked

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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