ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IVY-592) NullPointerException during ResovleEngine.downloadArtifacts.
Date Thu, 03 Apr 2008 16:46:25 GMT

     [ https://issues.apache.org/jira/browse/IVY-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xavier Hanin resolved IVY-592.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)
                   2.0-RC1

I've added a test to prevent the NPE. Not sure how to reproduce the problem though, so it
may result in other exceptions. But I've also checked other code calling this method to make
sure nullity checks were present.

> NullPointerException during ResovleEngine.downloadArtifacts.
> ------------------------------------------------------------
>
>                 Key: IVY-592
>                 URL: https://issues.apache.org/jira/browse/IVY-592
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha-2
>            Reporter: Ross Clewley
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>
> The following NPE occurs whilst resolving transitive configurations under similar circumstances
to IVY-590.
> java.lang.NullPointerException
>         at org.apache.ivy.core.resolve.ResolveEngine.downloadArtifacts(ResolveEngine.java:310)
>         at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:271)
>         at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:193)
>         at org.apache.ivy.Ivy.resolve(Ivy.java:256)
>         at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:212)
>         at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:281)
> Just as in IVY-590, it's difficult to provide a minimal testcase. It occurs whilst resolving
transitive configurations. The order of the dependencies can have an impact. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message