PR: MNG-1232

Submitted by: Jerome Lacoste
avoid NPE in error reporting under some circumstances

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@330207 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-11-02 08:03:25 +00:00
parent 20ecf7400f
commit d848ba2acd
1 changed files with 4 additions and 1 deletions

View File

@ -269,7 +269,10 @@ public class PluginConfigurationException
if ( failedConfiguration != null )
{
String value = failedConfiguration.getValue( null );
addParameterUsageInfo( value, message );
if ( value != null )
{
addParameterUsageInfo( value, message );
}
}
message.append( "\n\nCause: " ).append( cce.getMessage() );