Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1130

PatternIncludesArtifactFilters raising NPE for patterns w/ wildcards and artifactoid w/ null on any coordinate

    XMLWordPrintableJSON

Details

    Description

      Encountered an NPE from PatternIncludesArtifactFilters.match if the pattern includes wildcards and the artifactoid returns null on any of its coordinates.

      In such cases, the value argument will be null, which will lead to an NPE when it's being dereferenced in line 653.

      This led to https://github.com/mojohaus/versions-maven-plugin/issues/673

      In this case, token was JET*-SNAPSHOT and value as returned from the artifactoid was null.

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              ajarmoniuk Andrzej Jarmoniuk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: