1 Reply Latest reply on Sep 6, 2002 7:52 AM by Bruce Blackshaw

    NullPointer Exception in CORBA ORB

    Robert Evans Newbie

      My web application calls the backend via a CORBA call. When the code - orb.string_to_object(ior) is called, I get a NullPointerException.

      My stack trace reveals specifically where the exception is occurring:

      at com.sun.corba.se.internal.core.Profile.getEncapsulation(Profile.java:154)
      at com.sun.corba.se.internal.core.IOR.putProfile(IOR.java:302)
      at com.sun.corba.se.internal.core.IOR.setProfile(IOR.java:131)
      at com.sun.corba.se.internal.core.IOR.read(IOR.java:231)
      at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:585)
      at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:578)
      at com.sun.corba.se.internal.corba.ORB.string_to_object(ORB.java:1075)

      This only happens in the JBoss+Tomcat deployment using JDK1.3.

      I note that tonygi had this exact same problem back on 7th Dec 2001. I wonder if he got a solution.

      Any help would be much appreciated.