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:35:26 UTC
[jira] Created: (WAGON-224) ChecksumObserver sets digest == null on
transfer error, leading to NPE's if checksum downloads are retried with
same observer instance
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
[jira] Updated: (WAGON-224) ChecksumObserver sets digest == null on
transfer error, leading to NPE's if checksum downloads are retried with
same observer instance
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated WAGON-224:
-------------------------------
Fix Version/s: 1.0
> 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
> Fix For: 1.0
>
>
> 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
[jira] Closed: (WAGON-224) ChecksumObserver sets digest == null on
transfer error, leading to NPE's if checksum downloads are retried with
same observer instance
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (WAGON-224) ChecksumObserver sets digest == null
on transfer error, leading to NPE's if checksum downloads are retried with
same observer instance
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ 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