glassfish
  1. glassfish
  2. GLASSFISH-16911

ORB throws NPE if the GlassFish is stopped without undeploying the Remote EJB

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1, 4.0
    • Fix Version/s: 3.1.1_b10
    • Component/s: orb
    • Labels:
      None

      Description

      In the recent 3.1.1 build, GlassFish seems to be throwing NPE when it is shutdown without undeploying the remote EJB.

      (This is a side effect of GLASSFISH-16546 fix).

      It is simple to reproduce:

      0. Install latest 3.1.1 nightly build of GlassFish.
      1. Start GlassFish
      2. Deploy the remoteejb.jar (attachment is in GLASSFISH-16546)
      3. Stop GlassFish
      4. Check the server.log for exception.

      Alternatively, you can also download the attached Test.java and keep it under /tmp. Also download remoteejb.jar (attachment from GLASSFISH-16546) and keep it under /tmp/. Set S1AS_HOME to 3.1.1 installation.

      Compile & run the test like this:

      javac -cp $S1AS_HOME/lib/embedded/glassfish-embedded-static-shell.jar Test.java
      java -cp $S1AS_HOME/lib/embedded/glassfish-embedded-static-shell.jar:. Test

      1. exception.txt
        18 kB
        Bhavanishankar
      2. Test.java
        3 kB
        Bhavanishankar

        Activity

        Hide
        Bhavanishankar added a comment -

        test program attached.

        Show
        Bhavanishankar added a comment - test program attached.
        Hide
        Harshad Vilekar added a comment -

        Need to catch the NPE during ORB destroy processing.

        The fix is ready, and is currently under pre-integration testing.

        Show
        Harshad Vilekar added a comment - Need to catch the NPE during ORB destroy processing. The fix is ready, and is currently under pre-integration testing.
        Hide
        Harshad Vilekar added a comment - - edited

        Fixed in GlassFish 3.1.1-B10 + Corba 3.1.0-B29.

        Show
        Harshad Vilekar added a comment - - edited Fixed in GlassFish 3.1.1-B10 + Corba 3.1.0-B29.

          People

          • Assignee:
            Harshad Vilekar
            Reporter:
            Bhavanishankar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: