https://bz.apache.org/bugzilla/show_bug.cgi?id=59566
Bug ID: 59566 Summary: NPE from StandardJarScanner for JARs without a manifest Product: Tomcat 8 Version: 8.0.35 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Util Assignee: dev@tomcat.apache.org Reporter: derb...@interia.pl To reproduce: 1. Download the JAR from http://mvnrepository.org/artifact/javax.inject/javax.inject/1 and copy it to apache-tomcat-8.0.35/lib/ 2. Start Tomcat Caused by: java.lang.NullPointerException: null at org.apache.tomcat.util.scan.StandardJarScanner.processManifest(StandardJarScanner.java:369) at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:324) at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:273) at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1887) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1127) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5171) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 common frames omitted The JAR does not contain META-INF/ and jar.getManifest() returns null. -- 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