You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/11/01 17:46:40 UTC

[Bug 57172] NullPointerException in findResources of WebappClassLoader

https://issues.apache.org/bugzilla/show_bug.cgi?id=57172

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
resources should only be null when the web application class loader is not
running. Methods that may be called when the class loader is stopped (generally
management methods to get the name etc.) handle the case where resources is
null. Methods that are not expected to be called while the class loader is
stopped (such as findResources) do not handle the null.

The NPE you are getting is indicative of trying to use the web application
class loader after it has been stopped.

I suspect you have a memory leak and something is retaining a reference the
class loader that shouldn't be.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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