This is apparently caused by the Jetty HttpServer.destroy() method being
called when it has a HandlerContext that is null. The Exception is
probably harmless since it would have continued with the destruction of
all non-null contexts etc normally.

Without further investigation I'm not sure how this is happening.


On Sun, 10 Jun 2001, Jim Archer wrote:

> After running a perl script that loads my app for a while, I shut down 
> Jetty (On W2K) with CTRL-C and durin the shutdown it threw a 
> nullpointereception. I'll paste a log excerpt below.
> 
> Jim
> 
> 
> 
> [Jetty] Destroyed SecurityHandler in null
> [Jetty] Destroyed WebInfProtect
> [Jetty] Destroyed ResourceHandler in null
> [Jetty] Destroyed NotFoundHandler in null
> [Jetty] Destroyed SecurityHandler in null
> [Jetty] Destroyed WebInfProtect
> [Jetty] Destroy SocketListener on 0.0.0.0:8080
> [Jetty] Deregister com.mortbay.Jetty:name=Jetty,Jetty=0,SocketListener=0
> [PersistenceSPI] Destroying
> [PersistenceSPI] Destroyed
> [Jetty] Destroying
> [Jetty] Destroying (jetty.mortbay.com)
> [Jetty] java.lang.NullPointerException
> [Jetty]         at com.mortbay.HTTP.HttpServer.destroy(HttpServer.java:229)
> [Jetty]         at 
> org.jboss.jetty.JettyService.destroyService(JettyService.java
> :317)
> [Jetty]         at 
> org.jboss.util.ServiceMBeanSupport.destroy(ServiceMBeanSuppor
> t.java:147)
> [Jetty]         at java.lang.reflect.Method.invoke(Native Method)
> [Jetty]         at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1628)
> [Jetty]         at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1523)
> [Jetty]         at 
> org.jboss.util.ServiceControl.destroy(ServiceControl.java:172
> )
> [Jetty]         at java.lang.reflect.Method.invoke(Native Method)
> [Jetty]         at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1628)
> [Jetty]         at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
> .java:1523)
> [Jetty]         at 
> org.jboss.util.Shutdown.shutdownServices(Shutdown.java:96)
> [Jetty]         at org.jboss.util.Shutdown$1.run(Shutdown.java:56)
> [Jetty] Destroyed
> [Mail Service] Destroying
> [Mail Service] Destroyed
> [JMX RMI Connector] Destroying
> [JMX RMI Connector] Destroyed
> [JMX RMI Adaptor] Destroying
> [JMX RMI Adaptor] Destroyed
> [BlackBoxDS] Destroying
> [BlackBoxDS] Destroyed
> [MinervaXACMFactory] Destroying
> [MinervaXACMFactory] Destroyed
> [MinervaSharedLocalCMFactory] Destroying
> [MinervaSharedLocalCMFactory] Destroyed
> [MinervaNoTransCMFactory] Destroying
> [MinervaNoTransCMFactory] Destroyed
> [RARDeployer] Destroying
> [RARDeployer] Destroyed
> [Auto deploy] Destroying
> [Auto deploy] Destroyed
> [J2EE Deployer Default] Destroying
> [J2EE Deployer Default] Destroyed
> [StdJMSPool] Destroying
> [StdJMSPool] Destroyed
> [DefaultJMSProvider] Destroying
> [DefaultJMSProvider] Destroyed
> [JBossMQ] Destroying
> [JBossMQ] Destroyed
> [Container factory] Destroying
> [Container factory] Destroyed
> [DefaultDS] Destroying
> [DefaultDS] Destroyed
> [InstantDB] Destroying
> [InstantDB] Destroyed
> [Hypersonic] Destroying
> [Hypersonic] Destroyed
> [JDBC provider] Destroying
> [JDBC provider] Destroyed
> [JAAS Security Manager] Destroying
> [JAAS Security Manager] Destroyed
> [Transaction manager] Destroying
> [Transaction manager] Destroyed
> [JNDIView] Destroying
> [JNDIView] Destroyed
> [Naming] Destroying
> [Naming] Destroyed
> [Webserver] Destroying
> [Webserver] Destroyed
> [Service Control] Destroyed 35 services
> [Jetty] Shutdown complete
> Terminate batch job (Y/N)?
> 
> 
> 
> 
> 
> 
> 
> ********************************************
> I shall be telling this with a sigh
> Somewhere ages and ages hence:
> Two roads diverged in a wood, and I -
> I took the one less traveled by,
> And that has made all the difference.
> 
> - Robert Frost, 1916
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to