Program: 167885
Project: 167885
Buggy source:
protected ModelNode buildOperationRequest(CommandContext ctx,final String operation) throws CommandFormatException {
  ParsedCommandLine args=ctx.getParsedCommandLine();
  DefaultOperationRequestBuilder builder=new DefaultOperationRequestBuilder();
  if (ctx.isDomainMode()) {
    final String profile=this.profile.getValue(args);
    if (profile == null) {
      throw new OperationFormatException("String_Node_Str");
    }
    builder.addNode("String_Node_Str",profile);
  }
  final String name=this.name.getValue(ctx.getParsedCommandLine(),true);
  for (  OperationRequestAddress.Node node : nodePath) {
    builder.addNode(node.getType(),node.getName());
  }
  builder.addNode(type,name);
  builder.setOperationName(operation);
  getArguments(ctx);
  final Map<String,CommandArgument> argsMap=propsByOp.get(operation);
  for (  String argName : args.getPropertyNames()) {
    if (argName.equals("String_Node_Str")) {
      continue;
    }
    if (argsMap == null) {
      if (argName.equals(this.name.getFullName())) {
        continue;
      }
      throw new CommandFormatException("String_Node_Str" + operation + "String_Node_Str"+ this.name.getFullName()+ "String_Node_Str");
    }
    final ArgumentWithValue arg=(ArgumentWithValue)argsMap.get(argName);
    if (arg == null) {
      if (argName.equals(this.name.getFullName())) {
        continue;
      }
      throw new CommandFormatException("String_Node_Str" + argName + "String_Node_Str"+ operation+ "String_Node_Str");
    }
    final String propName;
    if (argName.charAt(1) == '-') {
      propName=argName.substring(2);
    }
 else {
      propName=argName.substring(1);
    }
    final String valueString=args.getPropertyValue(argName);
    ModelNode nodeValue=arg.getValueConverter().fromString(valueString);
    builder.getModelNode().get(propName).set(nodeValue);
  }
  return builder.buildRequest();
}

Fixed version (ground truth):
protected ModelNode buildOperationRequest(CommandContext ctx,final String operation) throws CommandFormatException {
  ParsedCommandLine args=ctx.getParsedCommandLine();
  DefaultOperationRequestBuilder builder=new DefaultOperationRequestBuilder();
  if (ctx.isDomainMode()) {
    final String profile=this.profile.getValue(args);
    if (profile == null) {
      throw new OperationFormatException("String_Node_Str");
    }
    builder.addNode("String_Node_Str",profile);
  }
  final String name=this.name.getValue(ctx.getParsedCommandLine(),true);
  for (  OperationRequestAddress.Node node : nodePath) {
    builder.addNode(node.getType(),node.getName());
  }
  builder.addNode(type,name);
  builder.setOperationName(operation);
  final Map<String,CommandArgument> argsMap=loadArguments(ctx,operation);
  for (  String argName : args.getPropertyNames()) {
    if (argName.equals("String_Node_Str")) {
      continue;
    }
    if (argsMap == null) {
      if (argName.equals(this.name.getFullName())) {
        continue;
      }
      throw new CommandFormatException("String_Node_Str" + operation + "String_Node_Str"+ this.name.getFullName()+ "String_Node_Str");
    }
    final ArgumentWithValue arg=(ArgumentWithValue)argsMap.get(argName);
    if (arg == null) {
      if (argName.equals(this.name.getFullName())) {
        continue;
      }
      throw new CommandFormatException("String_Node_Str" + argName + "String_Node_Str"+ operation+ "String_Node_Str");
    }
    final String propName;
    if (argName.charAt(1) == '-') {
      propName=argName.substring(2);
    }
 else {
      propName=argName.substring(1);
    }
    final String valueString=args.getPropertyValue(argName);
    ModelNode nodeValue=arg.getValueConverter().fromString(valueString);
    builder.getModelNode().get(propName).set(nodeValue);
  }
  return builder.buildRequest();
}