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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.3
    • 3.3.9
    • General
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: