Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-224

ChecksumObserver sets digest == null on transfer error, leading to NPE's if checksum downloads are retried with same observer instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-4
    • wagon-provider-api
    • None

    Description

      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.

      Attachments

        Activity

          People

            brett Brett Porter
            jdcasey John Dennis Casey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: