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

Make SimplexTransferListener handle absent source/target files

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment