- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    5.0
- 
        b31
- 
        sparc
- 
        solaris_1
- 
        Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2062190 | 5.0 | Ken Cavanaugh | P3 | Closed | Fixed | b32 | 
                    *******************************************************************************
###@###.### 2002-12-06
Problem description :
This is a regression with ripint generic build (12/03).
There are 2 failures here.
1. For a POA with RETAIN, UNIQUE_ID and NO_IMPLICIT_ACTIVATION policy
poa.servant_to_reference() fails with NPE for an inactive servant rather than throwing ServantNotActive Exception.
2. For a POA with RETAIN, UNIQUE_ID and IMPLICIT_ACTIVATION policy poa.servant_to_reference fails with NPE rather than activating the servant and returning a valid reference.
Test case:
/java/idl/ws/rip/RIP_TEST_MASTER/tests/api/poa/poa/servanttoreference
scenario servantToRefTest004 - for failure1
scenario servantToRefTest006 - for failure2
Error trace :
java.lang.NullPointerException
at com.sun.corba.ee.internal.POA.POAPolicyMediatorBase_R.servantToId(POAPolicyMediatorBase_R.java:146)
at com.sun.corba.ee.internal.POA.POAImpl.servant_to_reference(POAImpl.java:1075)
at api.poa.poa.servanttoreference.ServantToRefTest.servantToRefTest006(ServantToRefTest.java:334)
at api.poa.poa.servanttoreference.ServantToRefTest.<init>(ServantToRefTest.java:44)
at api.poa.poa.servanttoreference.ServantToRefTest.main(ServantToRefTest.java:345)
******************************************************************************
            
###@###.### 2002-12-06
Problem description :
This is a regression with ripint generic build (12/03).
There are 2 failures here.
1. For a POA with RETAIN, UNIQUE_ID and NO_IMPLICIT_ACTIVATION policy
poa.servant_to_reference() fails with NPE for an inactive servant rather than throwing ServantNotActive Exception.
2. For a POA with RETAIN, UNIQUE_ID and IMPLICIT_ACTIVATION policy poa.servant_to_reference fails with NPE rather than activating the servant and returning a valid reference.
Test case:
/java/idl/ws/rip/RIP_TEST_MASTER/tests/api/poa/poa/servanttoreference
scenario servantToRefTest004 - for failure1
scenario servantToRefTest006 - for failure2
Error trace :
java.lang.NullPointerException
at com.sun.corba.ee.internal.POA.POAPolicyMediatorBase_R.servantToId(POAPolicyMediatorBase_R.java:146)
at com.sun.corba.ee.internal.POA.POAImpl.servant_to_reference(POAImpl.java:1075)
at api.poa.poa.servanttoreference.ServantToRefTest.servantToRefTest006(ServantToRefTest.java:334)
at api.poa.poa.servanttoreference.ServantToRefTest.<init>(ServantToRefTest.java:44)
at api.poa.poa.servanttoreference.ServantToRefTest.main(ServantToRefTest.java:345)
******************************************************************************
- backported by
- 
                    JDK-2062190 poa.servant_to_reference() fails with NPE for an inactive servant -           
- Closed
 
-         
- 
                    JDK-2062191 poa.servant_to_reference() fails with NPE for an inactive servant -           
- Closed
 
-