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

Potential NPE in MavenMetadataSource

    XMLWordPrintableJSON

Details

    Description

      In here: https://github.com/apache/maven/blob/cb54aa429d9e63bf78c4c808898fbef1cc01ff33/maven-core/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java#L198-L203

      LegacySupport#getSession() can be null, but never tested. If null an empty list should be returned.

      This was indirectly found by gnodet.

      Attachments

        Issue Links

          Activity

            People

              mthmulders Maarten Mulders
              michael-o Michael Osipov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: