Bug 19071 - IllegalStateException thrown when attepting to access Tag files packaged in JAR file.
Summary: IllegalStateException thrown when attepting to access Tag files packaged in J...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Jasper (show other bugs)
Version: Nightly Build
Hardware: All All
: P3 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 15:00 UTC by Ryan Lubke
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Lubke 2003-04-16 15:00:51 UTC
The following Exception and Stacktrace is raised when attempting to access Tag
files packaged in a JAR:

----------------------------------------------------------
</pre></p><p><b>root cause</b> <pre>java.lang.IllegalStateException: zip file closed
     [java]     at java.util.zip.ZipFile.ensureOpen(ZipFile.java:398)
     [java]     at java.util.zip.ZipFile.getEntry(ZipFile.java:145)
     [java]     at java.util.jar.JarFile.getEntry(JarFile.java:184)
     [java]     at sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:89)
     [java]     at
org.apache.jasper.compiler.JspUtil.getInputStream(JspUtil.java:857)
     [java]     at
org.apache.jasper.xmlparser.XercesEncodingDetector.getEncodingMethod(XercesEncodingDetector.java:160)
     [java]     at
org.apache.jasper.xmlparser.XMLEncodingDetector.getEncoding(XMLEncodingDetector.java:99)
     [java]     at
org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:349)
     [java]     at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:195)
     [java]     at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:150)
     [java]     at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:137)
     [java]     at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:246)
---------------------------------------------------------------------------