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

poa.set_servant() throwing NPE for NR_UDS policy

XMLWordPrintable

    • b31
    • sparc
    • solaris_1
    • Not verified

        *****************************************************************************
        ###@###.### 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)

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

              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: