Program: 27676
Project: 27676
Buggy source:
private CompilerOptions createCompilerOptions(){
  CompilerOptions options=new CompilerOptions();
  this.compilationLevel.setOptionsForCompilationLevel(options);
  if (this.debugOptions) {
    this.compilationLevel.setDebugOptionsForCompilationLevel(options);
  }
  options.prettyPrint=this.prettyPrint;
  options.printInputDelimiter=this.printInputDelimiter;
  options.generateExports=this.generateExports;
  options.setLanguageIn(this.languageIn);
  options.setOutputCharset(this.outputEncoding);
  this.warningLevel.setOptionsForWarningLevel(options);
  options.setManageClosureDependencies(manageDependencies);
  convertEntryPointParameters(options);
  options.setTrustedStrings(true);
  if (replaceProperties) {
    convertPropertiesMap(options);
  }
  convertDefineParameters(options);
  for (  Warning warning : warnings) {
    CheckLevel level=warning.getLevel();
    String groupName=warning.getGroup();
    DiagnosticGroup group=new DiagnosticGroups().forName(groupName);
    if (group == null) {
      throw new BuildException("String_Node_Str" + groupName + "String_Node_Str");
    }
    options.setWarningLevel(group,level);
  }
  if (!Strings.isNullOrEmpty(sourceMapFormat)) {
    options.sourceMapFormat=Format.valueOf(sourceMapFormat);
  }
  if (sourceMapOutputFile != null) {
    File parentFile=sourceMapOutputFile.getParentFile();
    if (parentFile.mkdirs()) {
      log("String_Node_Str" + parentFile,Project.MSG_DEBUG);
    }
    options.sourceMapOutputPath=parentFile.getAbsolutePath();
  }
  return options;
}

Fixed version (ground truth):
private CompilerOptions createCompilerOptions(){
  CompilerOptions options=new CompilerOptions();
  this.compilationLevel.setOptionsForCompilationLevel(options);
  if (this.debugOptions) {
    this.compilationLevel.setDebugOptionsForCompilationLevel(options);
  }
  options.prettyPrint=this.prettyPrint;
  options.printInputDelimiter=this.printInputDelimiter;
  options.generateExports=this.generateExports;
  options.setLanguageIn(this.languageIn);
  options.setOutputCharset(this.outputEncoding);
  this.warningLevel.setOptionsForWarningLevel(options);
  options.setManageClosureDependencies(manageDependencies);
  convertEntryPointParameters(options);
  options.setTrustedStrings(true);
  if (replaceProperties) {
    convertPropertiesMap(options);
  }
  convertDefineParameters(options);
  for (  Warning warning : warnings) {
    CheckLevel level=warning.getLevel();
    String groupName=warning.getGroup();
    DiagnosticGroup group=new DiagnosticGroups().forName(groupName);
    if (group == null) {
      throw new BuildException("String_Node_Str" + groupName + "String_Node_Str");
    }
    options.setWarningLevel(group,level);
  }
  if (!Strings.isNullOrEmpty(sourceMapFormat)) {
    options.sourceMapFormat=Format.valueOf(sourceMapFormat);
  }
  if (!Strings.isNullOrEmpty(sourceMapLocationMapping)) {
    String tokens[]=sourceMapLocationMapping.split("String_Node_Str",-1);
    LocationMapping lm=new LocationMapping(tokens[0],tokens[1]);
    options.sourceMapLocationMappings=Arrays.asList(lm);
  }
  if (sourceMapOutputFile != null) {
    File parentFile=sourceMapOutputFile.getParentFile();
    if (parentFile.mkdirs()) {
      log("String_Node_Str" + parentFile,Project.MSG_DEBUG);
    }
    options.sourceMapOutputPath=parentFile.getAbsolutePath();
  }
  return options;
}