mirror of https://github.com/apache/maven.git
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:
parent
20ecf7400f
commit
d848ba2acd
|
@ -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() );
|
||||
|
|
Loading…
Reference in New Issue