alitokmen opened a new pull request #201: Avoid NPE in 
NamingContextListener.getGlobalNamingContext with Embedded containers
URL: https://github.com/apache/tomcat/pull/201
 
 
   When the Service is an Embedded service, it doesn't have a Server object 
when stopping - Which in turn implies that when one uses a Tomcat Embedded 
server the getGlobalNamingContext also cannot rely on the Server object being 
present when shutting down. Add a !null check in order to avoid NPEs and hence 
a clean shutdown.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to