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
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]