[ 
https://issues.apache.org/jira/browse/MNG-5721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated MNG-5721:
--------------------------------
    Fix Version/s: 3.3.7

> Possible NullPointerException in  org.apache.maven.repository. 
> MetadataResolutionResult 
> ----------------------------------------------------------------------------------------
>
>                 Key: MNG-5721
>                 URL: https://issues.apache.org/jira/browse/MNG-5721
>             Project: Maven
>          Issue Type: Bug
>          Components: General
>            Reporter: Martin Schäf
>            Assignee: Michael Osipov
>            Priority: Minor
>             Fix For: 3.3.7
>
>         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.3.4#6332)

Reply via email to