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/25 16:13:59 UTC

[Bug 57260] New: EOF Exception is thrown while parsing annotations from struts-1.2.9.jar

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

            Bug ID: 57260
           Summary: EOF Exception is thrown while parsing annotations from
                    struts-1.2.9.jar
           Product: Tomcat 8
           Version: 8.0.15
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: florian.schaefer.extern@asideas.de

The following Exception is thrown while parsing the struts-1.2.9.jar for
annotations. This was not the case in tomcat 8.0.12:

2014-11-25 15:44:03,989 ERROR  [localhost-startStop-1] 
(org.apache.catalina.startup.ContextConfig) Unable to process Jar entry
[org/apache/struts/util/ModuleException.class] from Jar
[jar:file:/cms/ece/tomcat/webapps/escenic-admin.war!/WEB-INF/lib/struts-1.2.9(1).jar]
for annotations
java.io.EOFException
        at
org.apache.tomcat.util.bcel.classfile.FastDataInputStream.readInt(FastDataInputStream.java:145)
        at
org.apache.tomcat.util.bcel.classfile.Utility.swallowAttribute(Utility.java:86)
        at
org.apache.tomcat.util.bcel.classfile.Utility.swallowFieldOrMethod(Utility.java:77)
        at
org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:235)
        at
org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:92)
        at
org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:1994)
        at
org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1944)
        at
org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1919)
        at
org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1880)
        at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1149)
        at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
        at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5095)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
        at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)
        at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1701)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

-- 
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 57260] EOF Exception is thrown while parsing annotations from struts-1.2.9.jar

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

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

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

--- Comment #1 from Mark Thomas <ma...@apache.org> ---


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

-- 
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 57260] EOF Exception is thrown while parsing annotations from struts-1.2.9.jar

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

Florian Schäfer <fl...@asideas.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian.schaefer.extern@asi
                   |                            |deas.de

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