ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Jones (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1150) Artifact report NPE when artifact is not in cache
Date Fri, 18 Dec 2009 01:16:18 GMT

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

Steve Jones updated IVY-1150:
-----------------------------

    Attachment: ivy_2_1_0_artifactReport.patch

Patch against 2.10 to fix the issue.

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


Mime
View raw message