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

Possible NullPointerException in org.apache.maven.repository. MetadataResolutionResult

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.3.9
    • Component/s: General
    • Labels:
      None
    • Flags:
      Patch

      Description

      In line 235 of org.apache.maven.repository.MetadataResolutionResult
      the function initList is used in the wrong way. Should be:

      public MetadataResolutionResult addError( Exception e )

      { exceptions = initList( exceptions ); exceptions.add( e ); return this; }

        Attachments

        1. MetadataResolutionResult.java
          9 kB
          Martin Schäf

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              martinschaef Martin Schäf
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: