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

POA.destroy(true, true) throwing NPE

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_1
    • Verification:
      Not verified

      Description

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

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: