https://issues.apache.org/bugzilla/show_bug.cgi?id=50138
--- Comment #1 from Sebb <s...@apache.org> 2010-10-21 09:51:59 EDT --- That may not be the only bug. There are two instances of the following code: if(objectCache.containsKey(targetObject)){ methodsCache = objectCache.get(targetObject); If the object is removed between the two statements, then an NPE will follow. Surely the code should just check whether it got a non-null object? Also, the private static fields should be final. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org