- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    5.0
- 
        b31
- 
        sparc
- 
        solaris_1
- 
        Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2062244 | 5.0 | Ken Cavanaugh | P3 | Closed | Fixed | b32 | 
                    *****************************************************************************
###@###.### 2002-12-09
Problem description :
This is a regression with ripint generic build (dec3).
poa.set_servant throws NPE for NON_RETAIN and USE_DEFAULT_SERVANT policy.
The problem seems to be in the following method
com.sun.corba.se.impl.poa.POAPolicyMediatorImpl_NR_UDS.setDefaultServant()
public void setDefaultServant( Servant servant ) throws WrongPolicy
{
this.defaultServant = defaultServant;
^^^^^^^^^^^^
setDelegate(defaultServant, "DefaultServant".getBytes());
}
test :
/java/idl/ws/rip/RIP_TEST_MASTER/tests/performance/interceptors
Error trace :
java.lang.NullPointerException
at com.sun.corba.ee.internal.POA.POAPolicyMediatorBase.setDelegate(POAPolicyMediatorBase.java:143)
at com.sun.corba.ee.internal.POA.POAPolicyMediatorImpl_NR_UDS.setDefaultServant(POAPolicyMediatorImpl_NR_UDS.java:99)
at com.sun.corba.ee.internal.POA.POAImpl.set_servant(POAImpl.java:941)
at performance.interceptors.Server.main(Server.java:86)
********************************************************************************
            
###@###.### 2002-12-09
Problem description :
This is a regression with ripint generic build (dec3).
poa.set_servant throws NPE for NON_RETAIN and USE_DEFAULT_SERVANT policy.
The problem seems to be in the following method
com.sun.corba.se.impl.poa.POAPolicyMediatorImpl_NR_UDS.setDefaultServant()
public void setDefaultServant( Servant servant ) throws WrongPolicy
{
this.defaultServant = defaultServant;
^^^^^^^^^^^^
setDelegate(defaultServant, "DefaultServant".getBytes());
}
test :
/java/idl/ws/rip/RIP_TEST_MASTER/tests/performance/interceptors
Error trace :
java.lang.NullPointerException
at com.sun.corba.ee.internal.POA.POAPolicyMediatorBase.setDelegate(POAPolicyMediatorBase.java:143)
at com.sun.corba.ee.internal.POA.POAPolicyMediatorImpl_NR_UDS.setDefaultServant(POAPolicyMediatorImpl_NR_UDS.java:99)
at com.sun.corba.ee.internal.POA.POAImpl.set_servant(POAImpl.java:941)
at performance.interceptors.Server.main(Server.java:86)
********************************************************************************
- backported by
- 
                    JDK-2062244 poa.set_servant() throwing NPE for NR_UDS policy -           
- Closed
 
-         
- 
                    JDK-2062245 poa.set_servant() throwing NPE for NR_UDS policy -           
- Closed
 
-