ant-notifications mailing list archives

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

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

Maarten Coene resolved IVY-1150.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk
         Assignee: Maarten Coene

I've applied your patch in SVN trunk.
Thanks a lot for your contribution!

Maarten

> 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: trunk
>
>         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