https://issues.apache.org/bugzilla/show_bug.cgi?id=56236
Konstantin Kolinko <knst.koli...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO OS| |All --- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> --- (In reply to kean12 from comment #0) > > INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 >(...) > SEVERE: Error deploying web application directory C:\server\tomcat > 7\webapps\docs >(...) > Caused by: java.lang.NullPointerException > at > org.apache.tomcat.util.descriptor.DigesterFactory.idFor(DigesterFactory.java: > 107) > at > org.apache.tomcat.util.descriptor.DigesterFactory.<clinit>(DigesterFactory. > java:59) > This should have been fixed in the versions that you are using! (Thanks to bugs 56045 and 56016 that have been reported for 7.0.50). This behaviour of DigesterFactory is a result of our work on blocking CVE-2013-4590. Essentially, DigesterFactory populates a table with resource URLs of schema and DTD files bundled in Tomcat's servlet-api.jar. This NPE happens when classloader cannot locate those files and returns 'null' instead of a valid URL. My guess is that you have a mess either in your CLASSPATH or in CATALINA_BASE/lib, CATALINA_HOME/lib directories. Essentially that you have a rogue Servlet API jar file that does not belong to Tomcat. That is that a classloader has loaded a wrong "javax.servlet.ServletContext" class that does not belong to our servlet-api.jar. -- 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