Program: 22974
Project: 22974
Buggy source:
@Override public boolean compile(String rootDir,List<String> errors,Logger logger,List<ValidationMessage> issues) throws Exception {
  logger.log("String_Node_Str",LogMessageType.Process);
  Manifest manifest=new Manifest();
  manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS,"String_Node_Str");
  JarOutputStream jar=new JarOutputStream(new FileOutputStream(Utilities.path(folders.dstDir,"String_Node_Str")),manifest);
  List<String> names=new ArrayList<String>();
  names.add("String_Node_Str");
  names.add("String_Node_Str");
  String importsDir=Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str");
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  jar.close();
  manifest=new Manifest();
  manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS,"String_Node_Str");
  logger.log("String_Node_Str",LogMessageType.Process);
  ImplementationGuide ig=new ImplementationGuide();
  ig.setUrl("String_Node_Str");
  ig.setVersion(svnRevision);
  ig.setName("String_Node_Str");
  ig.setTitle("String_Node_Str");
  ig.setStatus(PublicationStatus.ACTIVE);
  ig.setLicense(SPDXLicense.CC01_0);
  ig.setPackageId("String_Node_Str");
  ig.setPublisher("String_Node_Str");
  ig.setFhirVersion(Constants.VERSION);
  NPMPackageGenerator npm=new NPMPackageGenerator(Utilities.path(folders.dstDir,"String_Node_Str"),ig.getUrl(),PackageType.TOOL,ig);
  npm.addFile(Category.TOOL,"String_Node_Str",TextFile.fileToBytes(Utilities.path(folders.dstDir,"String_Node_Str")));
  npm.finish();
  return true;
}

Fixed version (ground truth):
@Override public boolean compile(String rootDir,List<String> errors,Logger logger,List<ValidationMessage> issues) throws Exception {
  logger.log("String_Node_Str",LogMessageType.Process);
  Manifest manifest=new Manifest();
  manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS,"String_Node_Str");
  JarOutputStream jar=new JarOutputStream(new FileOutputStream(Utilities.path(folders.dstDir,"String_Node_Str")),manifest);
  List<String> names=new ArrayList<String>();
  names.add("String_Node_Str");
  names.add("String_Node_Str");
  String importsDir=Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str");
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddJarToJar(jar,Utilities.path(importsDir,"String_Node_Str"),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  AddToJar(jar,new File(Utilities.path(rootDir + "String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str")),Utilities.path(rootDir,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").length(),names);
  jar.close();
  manifest=new Manifest();
  manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH,"String_Node_Str");
  manifest.getMainAttributes().put(Attributes.Name.MAIN_CLASS,"String_Node_Str");
  logger.log("String_Node_Str",LogMessageType.Process);
  ImplementationGuide ig=new ImplementationGuide();
  ig.setUrl("String_Node_Str");
  ig.setVersion(svnRevision);
  ig.setName("String_Node_Str");
  ig.setTitle("String_Node_Str");
  ig.setStatus(PublicationStatus.ACTIVE);
  ig.setLicense(SPDXLicense.CC01_0);
  ig.setPackageId("String_Node_Str");
  ig.setPublisher("String_Node_Str");
  ig.setFhirVersion(Constants.VERSION);
  NPMPackageGenerator npm=new NPMPackageGenerator(Utilities.path(folders.dstDir,"String_Node_Str"),ig.getUrl(),PackageType.TOOL,ig);
  npm.addFile(Category.TOOL,"String_Node_Str",TextFile.fileToBytes(Utilities.path(folders.dstDir,"String_Node_Str")));
  npm.finish();
  return true;
}