ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <>
Subject Re: Exception when using package resolver
Date Thu, 23 Dec 2010 19:23:15 GMT
It's a bug, but you can safely ignore it. This is occurring while the
packager resolver is attempting to delete the temporary build directory it

However, the bug can only occur (according to the Javadocs) if an I/O error
has occurred while attempting to delete some file(s). This probably includes
problems like wrong permissions, etc., so you might investigate what might
prevent ivy from being allowed to delete files.

The attached patch should fix the exception (but not the underlying
problem). If you have a chance please file a bug and reference this patch.


On Thu, Dec 23, 2010 at 12:10 PM, Jonathan Williams <> wrote:

> I recently started using a package resolver for some of my project's
> dependencies. It appears to work well for the most part except that at the
> end of the build, I occasionally see the following exceptions output to my
> console. It is of note that when I see this error output, the build has
> still reported as completing successfully.
> Exception in thread "Thread-16" java.lang.NullPointerException
>        at org.apache.ivy.util.FileUtil.forceDelete(
>        at org.apache.ivy.util.FileUtil.forceDelete(
Archie L. Cobbs

View raw message