[ 
http://issues.apache.org/jira/browse/GERONIMO-2612?page=comments#action_12458624
 ] 
            
Hernan Cunico commented on GERONIMO-2612:
-----------------------------------------

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

> NPE thrown in console when shutting down server
> -----------------------------------------------
>
>                 Key: GERONIMO-2612
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2612
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.2
>         Environment: this is for Geronimo 1.2-beta as of 12/14/2006
>            Reporter: Hernan Cunico
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to