Martin Schäf created MNG-5721:
---------------------------------

             Summary: Possible NullPointerException in  
org.apache.maven.repository. MetadataResolutionResult 
                 Key: MNG-5721
                 URL: https://jira.codehaus.org/browse/MNG-5721
             Project: Maven
          Issue Type: Bug
          Components: General
            Reporter: Martin Schäf
            Priority: Minor
         Attachments: MetadataResolutionResult.java

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;
    }




--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to