You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/23 15:53:19 UTC
DO NOT REPLY [Bug 11903] -
org.apache.tools.zip.ZipOutputStream.finish(ZipOutputStream.java(Compiled Code)) exception while creating a jar file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11903>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11903
org.apache.tools.zip.ZipOutputStream.finish(ZipOutputStream.java(Compiled Code)) exception while creating a jar file
------- Additional Comments From just@justobjects.nl 2002-08-23 13:53 -------
I encountered the NullPointerException on ZipOutputStream.finish when using the
zip-task and in some cases (when using zipfilesets) the jar-task in Ant 1.5 (did
not happen in 1.4.1 with the same buildfile). Strangely it only appeared on
Linux (RH 7.2) using IBM JSDK 1.3.0 but not on Windows 98 SE (using Sun JSDK
1.3.0). Like said I never encountered this issue in 1.4.1.
Example output for Linux:
[zip] Building zip:
/home/just/build/cvs/xbook/justobjects/versions/xbook/xbook-1.1.13.zip
BUILD FAILED
java.lang.NullPointerException
at
org.apache.tools.zip.ZipOutputStream.finish(ZipOutputStream.java(Compiled Code))
at
java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:139)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:402)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>