(The following problem does not occur with ant 1.4.1)
Using ant 1.5, Windows 2000
My build has been failing on the jar task (trace included below)
I wish it failed every time I try to create a jar, but unfortunately this
is not the case.
It works when I try to create AAA.jar, but fails when I try to create
BBB.jar.
The only difference (that I can find) between these jar files, is the
number of files/directories that I'm trying to put in them.
The failures occur with large numbers of files. (it fails with 1800; I
haven't found the lower bound on #files that cause failure)
Has anybody else noticed this? I've seen a few postings to this list that
discuss the same Exception, but I haven't found any discussion of number
of files as a possible cause.
Thanks for any insight...
=======================
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)
(rest of stack omitted)