You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/10/18 23:15:12 UTC
[jira] Closed: (MNG-1220) NPE in DiagnosisUtils
[ http://jira.codehaus.org/browse/MNG-1220?page=all ]
Brett Porter closed MNG-1220:
-----------------------------
Assign To: Brett Porter
Resolution: Fixed
Fix Version: 2.0
> NPE in DiagnosisUtils
> ---------------------
>
> Key: MNG-1220
> URL: http://jira.codehaus.org/browse/MNG-1220
> Project: Maven 2
> Type: Bug
> Components: maven-core
> Versions: 2.0.1
> Reporter: fabrizio giustina
> Assignee: Brett Porter
> Fix For: 2.0
> Attachments: diagnosisUtilsNPE.diff
>
>
> org.apache.maven.usability.diagnostics.DiagnosisUtils.appendRootCauseIfPresentAndUnique() throws an NPE if the exception message is null [line 89: if ( rootMsg != null && error.getMessage().indexOf( rootMsg ) < 0 )]
> The attached patch simply adds the error.getMessage() != null check
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org