maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5721) Possible NullPointerException in org.apache.maven.repository. MetadataResolutionResult
Date Sat, 10 Oct 2015 19:34:05 GMT

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

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

SUCCESS: Integrated in maven-3.x #1136 (See [https://builds.apache.org/job/maven-3.x/1136/])
[MNG-5721] Possible NullPointerException in (michaelo: rev d1dc63844f413ebce65162f1262c52d0bf15e06f)
* maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java


> 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)

Mime
View raw message