You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/07/28 04:07:26 UTC

[jira] Closed: (WAGON-224) ChecksumObserver sets digest == null on transfer error, leading to NPE's if checksum downloads are retried with same observer instance

     [ http://jira.codehaus.org/browse/WAGON-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed WAGON-224.
------------------------------

      Assignee: Brett Porter
    Resolution: Fixed

> ChecksumObserver sets digest == null on transfer error, leading to NPE's if checksum downloads are retried with same observer instance
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WAGON-224
>                 URL: http://jira.codehaus.org/browse/WAGON-224
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-provider-api
>    Affects Versions: 1.0-beta-3
>            Reporter: John Casey
>            Assignee: Brett Porter
>            Priority: Blocker
>             Fix For: 1.0-beta-4
>
>
> See maven-artifact (3.0-snapshot), file DefaultWagonManager.java, line ~506. I had to adjust this to reinit the checksum observer for each download attempt, since transfer error events broadcast to the observer will cause a NPE, making that observer impossible to reuse. The digester instance is set to null instead of reset.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira