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 11550] New: - NPE from the JAR task with Ant 1.5
Date Thu, 08 Aug 2002 09:49:18 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=11550>.
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=11550

NPE from the JAR task with Ant 1.5

           Summary: NPE from the JAR task with Ant 1.5
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: stephan@apache.org


I got a NPE from the jar task by using Ant 1.5. With 1.4.1 everything works.

System:
Linux, I386, 256MB, IBM JDK 1.3

The Exception can be verfied by building a CVS snapshot of the Apache Cocoon
project(xml.apache.org/cocoon).

webapp:
[manifest-tool] Writing: ./build/cocoon/webapp/WEB-INF/Manifest.mf
      [jar] Building jar: /home/stephan/Projekte/xml-cocoon2/build/cocoon/cocoon.war

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)

Total time: 2 minutes 6 seconds
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