Program: 49186
Project: 49186
Buggy source:
@CliCommand(value="String_Node_Str",help="String_Node_Str") public void configCluster(@CliOption(key={"String_Node_Str"},mandatory=true,help="String_Node_Str") final String name,@CliOption(key={"String_Node_Str"},mandatory=true,help="String_Node_Str") final String specFilePath,@CliOption(key={"String_Node_Str"},mandatory=false,unspecifiedDefaultValue="String_Node_Str",specifiedDefaultValue="String_Node_Str",help="String_Node_Str") final boolean skipConfigValidation){
  if (name.indexOf("String_Node_Str") != -1) {
    CommandsUtils.printCmdFailure(Constants.OUTPUT_OBJECT_CLUSTER,name,Constants.OUTPUT_OP_CONFIG,Constants.OUTPUT_OP_RESULT_FAIL,Constants.PARAM_CLUSTER + Constants.PARAM_NOT_CONTAIN_HORIZONTAL_LINE);
    return;
  }
  try {
    ClusterRead clusterRead=restClient.get(name);
    ClusterCreate clusterConfig=new ClusterCreate();
    clusterConfig.setName(clusterRead.getName());
    ClusterCreate clusterSpec=CommandsUtils.getObjectByJsonString(ClusterCreate.class,CommandsUtils.dataFromFile(specFilePath));
    clusterConfig.setNodeGroups(clusterSpec.getNodeGroups());
    clusterConfig.setConfiguration(clusterSpec.getConfiguration());
    if (!skipConfigValidation) {
      if (!validateConfiguration(clusterConfig)) {
        return;
      }
    }
 else {
      clusterConfig.setValidateConfig(false);
    }
    restClient.configCluster(clusterConfig);
  }
 catch (  Exception e) {
    CommandsUtils.printCmdFailure(Constants.OUTPUT_OBJECT_CLUSTER,name,Constants.OUTPUT_OP_CONFIG,Constants.OUTPUT_OP_RESULT_FAIL,e.getMessage());
    return;
  }
}

Fixed version (ground truth):
@CliCommand(value="String_Node_Str",help="String_Node_Str") public void configCluster(@CliOption(key={"String_Node_Str"},mandatory=true,help="String_Node_Str") final String name,@CliOption(key={"String_Node_Str"},mandatory=true,help="String_Node_Str") final String specFilePath,@CliOption(key={"String_Node_Str"},mandatory=false,unspecifiedDefaultValue="String_Node_Str",specifiedDefaultValue="String_Node_Str",help="String_Node_Str") final boolean skipConfigValidation){
  if (name.indexOf("String_Node_Str") != -1) {
    CommandsUtils.printCmdFailure(Constants.OUTPUT_OBJECT_CLUSTER,name,Constants.OUTPUT_OP_CONFIG,Constants.OUTPUT_OP_RESULT_FAIL,Constants.PARAM_CLUSTER + Constants.PARAM_NOT_CONTAIN_HORIZONTAL_LINE);
    return;
  }
  try {
    ClusterRead clusterRead=restClient.get(name);
    ClusterCreate clusterConfig=new ClusterCreate();
    clusterConfig.setName(clusterRead.getName());
    ClusterCreate clusterSpec=CommandsUtils.getObjectByJsonString(ClusterCreate.class,CommandsUtils.dataFromFile(specFilePath));
    clusterConfig.setNodeGroups(clusterSpec.getNodeGroups());
    clusterConfig.setConfiguration(clusterSpec.getConfiguration());
    ValidateResult blackListResult=validateBlackList(clusterConfig);
    if (!skipConfigValidation) {
      ValidateResult whiteListResult=validateWhiteList(clusterConfig);
      if (!showWhiteListWarning(clusterConfig.getName(),whiteListResult)) {
        return;
      }
    }
 else {
      clusterConfig.setValidateConfig(false);
    }
    if (blackListResult != null) {
      showBlackListWarning(blackListResult);
    }
    restClient.configCluster(clusterConfig);
    CommandsUtils.printCmdSuccess(Constants.OUTPUT_OBJECT_CLUSTER,name,Constants.OUTPUT_OP_RESULT_CONFIG);
  }
 catch (  Exception e) {
    CommandsUtils.printCmdFailure(Constants.OUTPUT_OBJECT_CLUSTER,name,Constants.OUTPUT_OP_CONFIG,Constants.OUTPUT_OP_RESULT_FAIL,e.getMessage());
    return;
  }
}