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