tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: NPE while undeploying webapp on Tomcat 5.5.12
Date Wed, 09 Nov 2005 18:36:45 GMT
Stanislav Mironov wrote:
> Hi All!
> 
> I get such exception report in catalina.xxxx.log when I undeploy web
> application (deployed as WAR).
> 
> 09.11.2005 10:46:59 org.apache.catalina.startup.HostConfig checkResources
> INFO: Undeploying context [/context1]
> 09.11.2005 10:47:12 org.apache.catalina.startup.HostConfig checkResources
> INFO: Undeploying context [/context1]

Looks like two overlapping attempts to undeploy the same context. Not 
surprising that this results in an NPE at some point.

> 09.11.2005 10:47:12
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
> processChildren
> SEVERE: Exception invoking periodic operation:
> java.lang.NullPointerException
> 	at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:883)
> 	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1019)
> 	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1178)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1304)
> 	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1568)
> 	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1577)
> 	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1557)
> 	at java.lang.Thread.run(Unknown Source)
> 
> What is the reason - bug in tomcat?

Maybe, maybe not. What are the steps to reproduce?

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message