ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <>
Subject Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error
Date Tue, 18 Apr 2006 04:54:24 GMT

>well, obviously if I broke them it's entirely likely
>they won't be alone.  Probably the easiest/most BC
>thing will be some form of checking whether
>(Abstract?)FileSet instances have a project set and
>using the task's project if not (I think fileset
>handling is separate from other ResourceCollections,
>so that will work... otherwise I'll clone the
>filesets).  I'll take a look in about ten hours after
>I get to work.
For testing purposes:

Yes, there's a couple operations that copy around 500 files.  Here's
how to reproduce the problem in AppFuse:

1. Checkout the latest code from CVS: cvs -d co -P appfuse (you may have to
login first, password is guest)
2. cd into appfuse/extras/appgen and run "ant test-all".
3. Make sure your ANT_OPTS are set to "".  When I do this, I get the
following after 4 minutes:

     [copy] Copying 328 files to C:\Source\appfuse-appgen2
     [copy] Copying 104 files to C:\Source\appfuse-appgen2\extras

C:\Source\appfuse\extras\appgen\build.xml:639: The following error
occurred while executing this lin
C:\Source\appfuse\extras\appgen\build.xml:546: The following error
occurred while executing this lin
java.lang.OutOfMemoryError: Java heap space

Total time: 4 minutes 9 seconds

Ant 1.7 fails when trying to execute the cargo config, long before the 
heap space issue (probably within ~1 min).

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message