Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4907611

POA raises UNKNOWN exception if ServantActivate.incarnate returns null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • other-libs
    • b31
    • sparc
    • solaris_1
    • Not verified

        ******************************************************************************
        ###@###.### 2003-08-15

        build : /net/montara/work/space/ws/rip-int-generic-util-delegate (08-13-03)

        problem description :

        test : api/poa/poa/setservantmanager:test08

        The tests check if POA raises OBJ_ADAPTER exception if ServantActivator.incarnate returns null (Section 11.3.5.1). The latest implementaion raises a UNKNOWN with 202. Thanks to exception detail service context, the problem seems to be NPE in com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase.setDelegate

        error trace :

        org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe
                at com.sun.corba.ee.impl.logging.ORBUtilSystemException.runtimeexception(ORBUtilSystemException.java:6864)
                at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.convertThrowableToSystemException(CorbaMessageMediatorImpl.java:1901)
                at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1851)
                at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1804)
                at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:262)
                at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1671)
                at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:158)
                at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:132)
                at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
                at api.poa.poa.poaidl._PoaTest8Stub.sayHello(_PoaTest8Stub.java:19)
                at api.poa.poa.setservantmanager.SetServantManagerTest.setServantManagerTest008(SetServantManagerTest.java:394)
                at api.poa.poa.setservantmanager.SetServantManagerTest.<init>(SetServantManagerTest.java:57)
                at api.poa.poa.setservantmanager.SetServantManagerTest.main(SetServantManagerTest.java:410)
        Caused by: java.lang.NullPointerException
                at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase.setDelegate(POAPolicyMediatorBase.java:157)
                at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase_R.activateServant(POAPolicyMediatorBase_R.java:67)
                at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorImpl_R_USM.internalGetServant(POAPolicyMediatorImpl_R_USM.java:91)
                at com.sun.corba.ee.impl.oa.poa.POAPolicyMediatorBase.getInvocationServant(POAPolicyMediatorBase.java:136)
                at com.sun.corba.ee.impl.oa.poa.POAImpl.getInvocationServant(POAImpl.java:421)
                at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServant(CorbaServerRequestDispatcherImpl.java:314)
                at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:348)
                at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:187)
                ... 8 more

        *******************************************************************************

              kcavanauorcl Ken Cavanaugh (Inactive)
              smanuel Sony Manuel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: