Program: 63899
Project: 63899
Buggy source:
@CliCommand(value="String_Node_Str",help="String_Node_Str") public String createRecipe(@CliOption(key="String_Node_Str",mandatory=true,help="String_Node_Str") String name,@CliOption(key="String_Node_Str",mandatory=true,help="String_Node_Str") RecipeType recipeType,@CliOption(key="String_Node_Str",help="String_Node_Str") String description,@CliOption(key="String_Node_Str",help="String_Node_Str") File scriptFile,@CliOption(key="String_Node_Str",help="String_Node_Str") String url,@CliOption(key="String_Node_Str",unspecifiedDefaultValue="String_Node_Str",specifiedDefaultValue="String_Node_Str",help="String_Node_Str") Boolean publicInAccount){
  if (scriptFile != null && !scriptFile.exists()) {
    throw shellContext.exceptionTransformer().transformToRuntimeException("String_Node_Str");
  }
 else   if (scriptFile != null && url != null) {
    throw shellContext.exceptionTransformer().transformToRuntimeException("String_Node_Str");
  }
 else   if (scriptFile == null && url == null) {
    throw shellContext.exceptionTransformer().transformToRuntimeException("String_Node_Str");
  }
  try {
    RecipeRequest recipeRequest=new RecipeRequest();
    recipeRequest.setRecipeType(recipeType);
    recipeRequest.setName(name);
    recipeRequest.setDescription(description);
    recipeRequest.setUri(url);
    if (scriptFile != null) {
      String script=IOUtils.toString(new FileInputStream(scriptFile));
      String encodedContent=Base64.encodeBase64String(script.getBytes());
      recipeRequest.setContent(encodedContent);
    }
    Long id;
    if (publicInAccount) {
      id=shellContext.cloudbreakClient().recipeEndpoint().postPublic(recipeRequest).getId();
    }
 else {
      id=shellContext.cloudbreakClient().recipeEndpoint().postPrivate(recipeRequest).getId();
    }
    return String.format(CREATE_SUCCESS_MESSAGE,id,recipeRequest.getName());
  }
 catch (  Exception ex) {
    throw shellContext.exceptionTransformer().transformToRuntimeException(ex);
  }
}

Fixed version (ground truth):
@CliCommand(value="String_Node_Str",help="String_Node_Str") public String createRecipe(@CliOption(key="String_Node_Str",mandatory=true,help="String_Node_Str") String name,@CliOption(key="String_Node_Str",mandatory=true,help="String_Node_Str") RecipeType recipeType,@CliOption(key="String_Node_Str",help="String_Node_Str") String description,@CliOption(key="String_Node_Str",help="String_Node_Str") File scriptFile,@CliOption(key="String_Node_Str",help="String_Node_Str") String scriptUrl,@CliOption(key="String_Node_Str",unspecifiedDefaultValue="String_Node_Str",specifiedDefaultValue="String_Node_Str",help="String_Node_Str") Boolean publicInAccount){
  if (scriptFile != null && !scriptFile.exists()) {
    throw shellContext.exceptionTransformer().transformToRuntimeException("String_Node_Str");
  }
 else   if (scriptFile != null && scriptUrl != null) {
    throw shellContext.exceptionTransformer().transformToRuntimeException("String_Node_Str");
  }
 else   if (scriptFile == null && scriptUrl == null) {
    throw shellContext.exceptionTransformer().transformToRuntimeException("String_Node_Str");
  }
  try {
    RecipeRequest recipeRequest=new RecipeRequest();
    recipeRequest.setRecipeType(recipeType);
    recipeRequest.setName(name);
    recipeRequest.setDescription(description);
    recipeRequest.setUri(scriptUrl);
    if (scriptFile != null) {
      String script=IOUtils.toString(new FileInputStream(scriptFile));
      String encodedContent=Base64.encodeBase64String(script.getBytes());
      recipeRequest.setContent(encodedContent);
    }
    Long id;
    if (publicInAccount) {
      id=shellContext.cloudbreakClient().recipeEndpoint().postPublic(recipeRequest).getId();
    }
 else {
      id=shellContext.cloudbreakClient().recipeEndpoint().postPrivate(recipeRequest).getId();
    }
    return String.format(CREATE_SUCCESS_MESSAGE,id,recipeRequest.getName());
  }
 catch (  Exception ex) {
    throw shellContext.exceptionTransformer().transformToRuntimeException(ex);
  }
}