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

NamingContext.bind_context should raise BAD_PARAM for null context

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • other-libs
    • sparc
    • solaris_1

      ******************************************************************************
      ###@###.### 2003-08-12

      build : /java/re/rip_int_generic/1.0/promoted/fcs/b13

      Problem description :

      As per the spec NamingContext.bind_context will raise a BAD_PARAM if the context is nil. This fails for NameService with the current build which raise INTERNAL exception.

      TNameService raises the correct exception and displays the following warning message
      Aug 12, 2003 2:07:58 PM com.sun.corba.ee.impl.naming.cosnaming.NamingContextImpl bind_context
      WARNING: <<NAMING BIND>><<FAILURE>> NULL Context cannot be Bound

      test :
      api/ins/Binding/BindContextTest:test02

      error trace :
      <TEST-CASE>
      <TEST-CASE-ID STATUS="FAILED">Test02</TEST-CASE-ID>
      <TEST-CASE-DESC>org.omg.CORBA.INTERNAL: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 704 completed: No
              at com.sun.corba.ee.impl.logging.NamingSystemException.objectIsNull(NamingSystemException.java:580)
              at com.sun.corba.ee.impl.logging.NamingSystemException.objectIsNull(NamingSystemException.java:602)
              at com.sun.corba.ee.impl.naming.pcosnaming.NamingContextImpl.bind_context(NamingContextImpl.java:243)
              at org.omg.CosNaming.NamingContextExtPOA._invoke(NamingContextExtPOA.java:256)
              at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:644)
              at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:190)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1671)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1508)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:897)
              at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
              at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:670)
              at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:309)
              at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:218)
              at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:72)
              at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:286)
        vmcid: SUN minor code: 704 completed: No</TEST-CASE-DESC>
      </TEST-CASE>

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

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            smanuel Sony Manuel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: