ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11903] - org.apache.tools.zip.ZipOutputStream.finish(ZipOutputStream.java(Compiled Code)) exception while creating a jar file
Date Fri, 23 Aug 2002 13:53:19 GMT
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message