Program: 167939
Project: 167939
Buggy source:
public static final ModelNode getReplaceDeploymentOperation(Locale locale){
  final ResourceBundle bundle=getResourceBundle(locale);
  final ModelNode root=new ModelNode();
  root.get(OPERATION_NAME).set(REPLACE_DEPLOYMENT);
  root.get(DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,NAME,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,NAME,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,NAME,REQUIRED).set(true);
  root.get(REQUEST_PROPERTIES,NAME,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,NAME,NILLABLE).set(false);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,TO_REPLACE,REQUIRED).set(true);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,NILLABLE).set(false);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,REQUIRED).set(false);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,NILLABLE).set(true);
  root.get(REQUEST_PROPERTIES,INPUT_STREAM_INDEX,TYPE).set(ModelType.INT);
  root.get(REQUEST_PROPERTIES,INPUT_STREAM_INDEX,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,INPUT_STREAM_INDEX,REQUIRED).set(false);
  root.get(REQUEST_PROPERTIES,INPUT_STREAM_INDEX,MIN_VALUE).set(0);
  root.get(REQUEST_PROPERTIES,INPUT_STREAM_INDEX,NILLABLE).set(true);
  root.get(REQUEST_PROPERTIES,HASH,TYPE).set(ModelType.BYTES);
  root.get(REQUEST_PROPERTIES,HASH,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,HASH,REQUIRED).set(false);
  root.get(REQUEST_PROPERTIES,HASH,MIN_LENGTH).set(20);
  root.get(REQUEST_PROPERTIES,HASH,MAX_LENGTH).set(20);
  root.get(REQUEST_PROPERTIES,HASH,NILLABLE).set(true);
  root.get(REQUEST_PROPERTIES,BYTES,TYPE).set(ModelType.BYTES);
  root.get(REQUEST_PROPERTIES,BYTES,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,BYTES,REQUIRED).set(false);
  root.get(REQUEST_PROPERTIES,BYTES,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,BYTES,NILLABLE).set(true);
  root.get(REQUEST_PROPERTIES,URL,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,URL,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,URL,REQUIRED).set(false);
  root.get(REQUEST_PROPERTIES,URL,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,URL,NILLABLE).set(true);
  root.get(REPLY_PROPERTIES).setEmptyObject();
  return root;
}

Fixed version (ground truth):
public static final ModelNode getReplaceDeploymentOperation(Locale locale){
  final ResourceBundle bundle=getResourceBundle(locale);
  final ModelNode root=new ModelNode();
  root.get(OPERATION_NAME).set(REPLACE_DEPLOYMENT);
  root.get(DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,NAME,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,NAME,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,NAME,REQUIRED).set(true);
  root.get(REQUEST_PROPERTIES,NAME,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,NAME,NILLABLE).set(false);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,TO_REPLACE,REQUIRED).set(true);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,TO_REPLACE,NILLABLE).set(false);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,TYPE).set(ModelType.STRING);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,DESCRIPTION).set(bundle.getString("String_Node_Str"));
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,REQUIRED).set(false);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,MIN_LENGTH).set(1);
  root.get(REQUEST_PROPERTIES,RUNTIME_NAME,NILLABLE).set(true);
  root.get(REPLY_PROPERTIES).setEmptyObject();
  return root;
}