You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2010/05/07 22:12:52 UTC

[jira] Updated: (IVY-1150) Artifact report NPE when artifact is not in cache

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

Maarten Coene updated IVY-1150:
-------------------------------

    Fix Version/s: 2.2.0-RC1
                       (was: trunk)

> Artifact report NPE when artifact is not in cache
> -------------------------------------------------
>
>                 Key: IVY-1150
>                 URL: https://issues.apache.org/jira/browse/IVY-1150
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.1.0
>         Environment: Fedora 12, Sun JDK 1.6.0 u16, Ant 1.7.0
>            Reporter: Steve Jones
>            Assignee: Maarten Coene
>             Fix For: 2.2.0-RC1
>
>         Attachments: ivy_2_1_0_artifactReport.patch
>
>
> When an artifact report is generated after using resolve and publish with the option haltonfailure="false" an NPE will occur if an artifact is not in the cache:
> java.lang.NullPointerException
> 	at org.apache.ivy.ant.IvyArtifactReport.writeCacheLocation(IvyArtifactReport.java:251)
> 	at org.apache.ivy.ant.IvyArtifactReport.generateXml(IvyArtifactReport.java:158)
> 	at org.apache.ivy.ant.IvyArtifactReport.doExecute(IvyArtifactReport.java:117)
> 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
> 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)

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