You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/03/28 15:00:03 UTC

[jira] [Commented] (MNG-5721) Possible NullPointerException in org.apache.maven.repository. MetadataResolutionResult

    [ https://issues.apache.org/jira/browse/MNG-5721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069623#comment-17069623 ] 

Hudson commented on MNG-5721:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> 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.9
>
>         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
(v8.3.4#803005)