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

--- Comment #4 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-07-30 
14:32:59 UTC ---
Zip uses platform default encoding to encode file names.
JAR uses UTF-8.


java.lang.NullPointerException
        at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:407)
        at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:138)

It looks as if InputStream reference in ExpandWar#expand(InputStream, File) was
null. That is an earlier call to jarFile.getInputStream(jarEntry) on
ExpandWar.java:135 returned null.

The Javadoc for JarFile#getInputStream(ZipEntry) does not say that it can
return null. I would have expected a ZipException here.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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

Reply via email to