Geronimo
  1. Geronimo
  2. GERONIMO-2612

NPE thrown in console when shutting down server

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 2.1.4
    • Component/s: console
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      this is for Geronimo 1.2-beta as of 12/14/2006

      Description

      On shutdown I get this exception on both Tomcat and Jetty

      Server shutdown begun
      15:33:32,625 WARN [BasicLifecycleMonitor] Exception occured while notifying listener
      java.lang.NullPointerException
      at org.apache.geronimo.gjndi.binding.GBeanBinding.removeBinding(GBeanBinding.java:159)
      at org.apache.geronimo.gjndi.binding.GBeanBinding$GBeanLifecycleListener.stopped(GBeanBinding.java:108)
      at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireStoppedEvent(BasicLifecycleMonitor.java:197)
      at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$500(BasicLifecycleMonitor.java:41)
      at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireStoppedEvent(BasicLifecycleMonitor.java:259)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:359)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
      at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
      at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
      at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
      at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180)
      at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551)
      at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)
      at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:310)
      at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:668)
      at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:645)
      at org.apache.geronimo.system.main.Daemon$1.run(Daemon.java:234)
      Server shutdown completed

        Issue Links

          Activity

          Hernan Cunico created issue -
          Hide
          Hernan Cunico added a comment -

          Cannot reproduce this NPE in the new build. Issue fixed.

          Show
          Hernan Cunico added a comment - Cannot reproduce this NPE in the new build. Issue fixed.
          Hernan Cunico made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 1.2 [ 12310181 ]
          Hide
          Hernan Cunico added a comment -

          Cannot reproduce this NPE in the new build. Issue fixed.

          Show
          Hernan Cunico added a comment - Cannot reproduce this NPE in the new build. Issue fixed.
          Hernan Cunico made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Hernan Cunico added a comment -

          This exception is thrown again on 1.2-beta

          Show
          Hernan Cunico added a comment - This exception is thrown again on 1.2-beta
          Hernan Cunico made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Hernan Cunico made changes -
          Fix Version/s 1.2 [ 12310181 ]
          Environment this is for revision r480769 this is for Geronimo 1.2-beta as of 12/14/2006
          Hide
          Hernan Cunico added a comment -

          To reproduce it just stop the server with Ctrl+C and it will throw the exception.

          Show
          Hernan Cunico added a comment - To reproduce it just stop the server with Ctrl+C and it will throw the exception.
          Jay D. McHugh made changes -
          Link This issue is duplicated by GERONIMO-3068 [ GERONIMO-3068 ]
          Hide
          Jay D. McHugh added a comment -

          Oops, didn't see that Hernan had entered this jira because it was not filed under startup/shutdown.

          Patch attached to 3068 solves this issue.

          Show
          Jay D. McHugh added a comment - Oops, didn't see that Hernan had entered this jira because it was not filed under startup/shutdown. Patch attached to 3068 solves this issue.
          akulshreshtha committed 526204 (1 file)
          Hide
          Anita Kulshreshtha added a comment -

          Applied the fix from trunk (http://svn.apache.org/viewvc?view=rev&rev=488106) in rev 526204

          Show
          Anita Kulshreshtha added a comment - Applied the fix from trunk ( http://svn.apache.org/viewvc?view=rev&rev=488106 ) in rev 526204
          Jason Dillon made changes -
          Component/s console [ 12310171 ]
          Hide
          David Jencks added a comment -

          does not seem to be a problem any more.

          Show
          David Jencks added a comment - does not seem to be a problem any more.
          David Jencks made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Fix Version/s 2.1.4 [ 12313380 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Hernan Cunico
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development