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

POA.destroy(true, true) throwing NPE

XMLWordPrintable

    • beta
    • sparc
    • solaris_1
    • Not verified

      ******************************************************************************
      ###@###.### 2002-04-11

      build : Hopper preint Apr9

      Problem description:

      If a servant is executing an operation(long delay) and multiple threads try to invoke POA.destroy(true, true) on the POA that the servant is associated with, NPE is thrown.
      java.lang.NullPointerException
              at com.sun.corba.se.internal.POA.POAImpl.etherealizeAll(POAImpl.java:494
      )
              at com.sun.corba.se.internal.POA.POAImpl$1$DestroyThread.performDestroy(
      POAImpl.java:650)
              at com.sun.corba.se.internal.POA.POAImpl.destroyInternal(POAImpl.java:66
      5)
              at com.sun.corba.se.internal.POA.POAImpl.destroy(POAImpl.java:590)
              at test.DestroyThread.run(Server.java:43)

      Run attched test to reproduce problem.

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

            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: