glassfish
  1. glassfish
  2. GLASSFISH-20360

Got an NPE when shutting down the server, causing server to not shut down

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_dev
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This is intermittent, I've only seen it once in about 20 runs of:

      asadmin start-domain
      asadmin stop-domain

      in a loop. This is the exception:

      [2013-04-19T13:14:02.074-0700] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=16 _ThreadName=Thread-8] [timeMillis: 1366402442074] [levelValue: 1000] [[
      java.lang.NullPointerException
      at com.sun.enterprise.naming.impl.SerialContext.getORB(SerialContext.java:347)
      at com.sun.enterprise.naming.impl.SerialContext.getProviderCacheKey(SerialContext.java:354)
      at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:384)
      at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:329)
      at com.sun.enterprise.naming.impl.SerialContext.unbind(SerialContext.java:708)
      at javax.naming.InitialContext.unbind(InitialContext.java:435)
      at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.unpublishObject(GlassfishNamingManagerImpl.java:250)
      at com.sun.enterprise.transaction.startup.TransactionLifecycleService.preDestroy(TransactionLifecycleService.java:132)
      at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:294)
      at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:358)
      at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:473)
      at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:191)
      at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:159)
      at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownAllTheWay.run(CurrentTaskFuture.java:583)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)]]

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwells
            Reporter:
            jwells
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: