You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/06/30 18:39:26 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=139987#action_139987 ]
John Casey commented on WAGON-224:
----------------------------------
for the uninitiated, that's maven-artifact at:
http://svn.apache.org/repos/asf/maven/artifact/trunk
> 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
> Priority: Blocker
>
> 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