ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <>
Subject NPE in IvyNodeEviction
Date Thu, 02 Aug 2007 09:32:22 GMT
Hi list,

I got a nasty NPE this morning, both with alpha1 and alpha2:

[ivy:resolve] all callers are evicted for [ com.theveniceproject.utils | utils-core | 1.0.0
]: evicting too


Caused by: java.lang.NullPointerException
        at org.apache.ivy.core.resolve.IvyNodeEviction$EvictionData.<init>(
        at org.apache.ivy.core.resolve.IvyNodeEviction.markEvicted(
        at org.apache.ivy.core.resolve.IvyNode.markEvicted(
        at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(
        at org.apache.ivy.core.resolve.ResolveEngine.resolve(
        at org.apache.ivy.core.resolve.ResolveEngine.resolve(
        at org.apache.ivy.Ivy.resolve(
        at org.apache.ivy.ant.IvyResolve.doExecute(
        ... 17 more

See patch attached to fix the problem.

Also I wanted to report that running "ant eclipse-ivyde" in ivy
core does not work, because ivysettings.xml does not exist.
Furthermore the Ivy library does not appear correctly in Eclipse,
I had to change it manually.

I then used "ant eclipse-default" that took a while.  I had hard
times figuring out why the console was stopped, just because of
the ant task waiting for confirmation to overwrite the .classpath

Then there was errors in the IDE telling that jdom.jar and
slide-webdavlib.jar were missing.  I had to remove them from the
generated classpath.

     Jean-Baptiste Quenot
aka  John Banana   Qwerty

View raw message