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/03/05 09:36:41 UTC
DO NOT REPLY [Bug 6871] New: -
Jar/Zip task throws NullPointerException
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=6871>.
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=6871
Jar/Zip task throws NullPointerException
Summary: Jar/Zip task throws NullPointerException
Product: Ant
Version: 1.5 alpha (nightly)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: j_a_fernandez@yahoo.com
The <antjar> task on the antlib proposal extends <jar>. Since last night the
task is throwing a NullPointerException on the Jar.java code.
This worked fine before and I have not touched the code. The only changes that
happen were changes to the Zip.java code that Jar extends.
Here is the exception:
java.lang.NullPointerException
at org.apache.tools.ant.taskdefs.Jar.filesetManifest(Jar.java:364)
at org.apache.tools.ant.taskdefs.Jar.zipFile(Jar.java:357)
at org.apache.tools.ant.taskdefs.Zip.addZipEntries(Zip.java:510)
at org.apache.tools.ant.taskdefs.Zip.addFiles(Zip.java:839)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:352)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:171)
at org.apache.tools.ant.Task.perform(Task.java:311)
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:1181)
at org.apache.tools.ant.Project.executeTargets(Project.java:1123)
at org.apache.tools.ant.Main.runBuild(Main.java:565)
at org.apache.tools.ant.Main.start(Main.java:178)
at org.apache.tools.ant.Main.main(Main.java:200)
To reproduce just go to the antlib proposal and type: ant.
It fails during the execution of [antjar].
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>