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 2016/05/20 07:26:57 UTC

[Bug 59606] New: Tomcat experiences a NullPointerException and does not work if JAR without a manifest is on the class path

https://bz.apache.org/bugzilla/show_bug.cgi?id=59606

            Bug ID: 59606
           Summary: Tomcat experiences a NullPointerException and does not
                    work if JAR without a manifest is on the class path
           Product: Tomcat 8
           Version: 8.0.35
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: alexanderv@gmx.net

If a JAR without a manifest (e.g. http://spnego.sourceforge.net/) is on the
class path a NullPointerException occurs at startup.  Tomcat serves blank pages
afterwards.

INFO   | jvm 1    | 2016/05/20 08:48:52 |
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1092)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1834)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
java.lang.Thread.run(Thread.java:745)
INFO   | jvm 1    | 2016/05/20 08:48:52 | Caused by:
java.lang.NullPointerException
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.tomcat.util.scan.StandardJarScanner.processManifest(StandardJarScanner.java:369)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:324)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:273)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1887)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1127)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5171)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
INFO   | jvm 1    | 2016/05/20 08:48:52 |     ... 10 more

-- 
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


[Bug 59606] Tomcat experiences a NullPointerException and does not work if a JAR without a manifest is on the class path

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59606

Alexander Veit <al...@gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Tomcat experiences a        |Tomcat experiences a
                   |NullPointerException and    |NullPointerException and
                   |does not work if JAR        |does not work if a JAR
                   |without a manifest is on    |without a manifest is on
                   |the class path              |the class path

-- 
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


[Bug 59606] Tomcat experiences a NullPointerException and does not work if a JAR without a manifest is on the class path

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59606

Remy Maucherat <re...@apache.org> changed:

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

--- Comment #2 from Remy Maucherat <re...@apache.org> ---


*** This bug has been marked as a duplicate of bug 59566 ***

-- 
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


[Bug 59606] Tomcat experiences a NullPointerException and does not work if JAR without a manifest is on the class path

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59606

--- Comment #1 from Alexander Veit <al...@gmx.net> ---
The problem might be related to
https://bz.apache.org/bugzilla/show_bug.cgi?id=59226.

-- 
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