You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Ross Clewley (JIRA)" <ji...@apache.org> on 2007/08/16 19:29:30 UTC

[jira] Created: (IVY-592) NullPointerException during ResovleEngine.downloadArtifacts.

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


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.


[jira] Updated: (IVY-592) NullPointerException during ResovleEngine.downloadArtifacts.

Posted by "Ross Clewley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ross Clewley updated IVY-592:
-----------------------------

    Description: 
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. 

  was:
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. 


> 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
>
> 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.


[jira] Commented: (IVY-592) NullPointerException during ResovleEngine.downloadArtifacts.

Posted by "Ross Clewley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520491 ] 

Ross Clewley commented on IVY-592:
----------------------------------

The failing line is 

{code}
                DependencyResolver resolver = dependencies[i].getModuleRevision()
                        .getArtifactResolver();
{code}

It's the getModuleRevision() that's returning the null. 

> 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
>
> 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.