Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-8150

Make SimplexTransferListener handle absent source/target files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.7
    • 4.0.0, 3.9.8, 4.0.0-beta-4
    • Core
    • None

    Description

      See the discussion: https://github.com/apache/maven/pull/1471/files#r1632930409

      The `TransferResource#file` may be `null`. The current implementation of the `SimplexTransferListener` cannot handle this case and will break with an NPE.

       

      The fix should be merged to `master` and backported to `maven-3.9.x` branches.

       

       

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              pshevche Pavlo Shevchenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: