Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2C4417B39 for ; Sat, 10 Oct 2015 19:34:05 +0000 (UTC) Received: (qmail 69990 invoked by uid 500); 10 Oct 2015 19:34:05 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 69944 invoked by uid 500); 10 Oct 2015 19:34:05 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 69932 invoked by uid 99); 10 Oct 2015 19:34:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2015 19:34:05 +0000 Date: Sat, 10 Oct 2015 19:34:05 +0000 (UTC) From: "Hudson (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MNG-5721) Possible NullPointerException in org.apache.maven.repository. MetadataResolutionResult MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MNG-5721?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D149520= 10#comment-14952010 ]=20 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 d1dc63844f413ebc= e65162f1262c52d0bf15e06f) * maven-compat/src/main/java/org/apache/maven/repository/MetadataResolution= Result.java > Possible NullPointerException in org.apache.maven.repository. MetadataRe= solutionResult=20 > -------------------------------------------------------------------------= --------------- > > 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=C3=A4f > Assignee: Michael Osipov > Priority: Minor > Fix For: 3.3.7 > > Attachments: MetadataResolutionResult.java > > > In line 235 of org.apache.maven.repository.MetadataResolutionResult=20 > the function initList is used in the wrong way. Should be: > public MetadataResolutionResult addError( Exception e ) > { > exceptions =3D initList( exceptions ); =20 > exceptions.add( e ); > return this; > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)