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

Michael Osipov resolved MNG-5721.
---------------------------------
    Resolution: Fixed

Fixed with 
[d1dc63844f413ebce65162f1262c52d0bf15e06f|https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h=d1dc63844f413ebce65162f1262c52d0bf15e06f].

> 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
>    Affects Versions: 3.3.3
>            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