Program: 23979
Project: 23979
Buggy source:
private void initialize() throws Exception {
  first=true;
  log("String_Node_Str");
  configuration=(JsonObject)new com.google.gson.JsonParser().parse(TextFile.fileToString(configFile));
  if (!"String_Node_Str".equals(str(configuration,"String_Node_Str")))   throw new Exception("String_Node_Str");
  tool=GenerationTool.Jekyll;
  if (!configuration.has("String_Node_Str") || !(configuration.get("String_Node_Str") instanceof JsonObject))   throw new Exception("String_Node_Str");
  if (tool == GenerationTool.Jekyll)   findRubyExe();
  JsonObject paths=configuration.getAsJsonObject("String_Node_Str");
  String root=Utilities.getDirectoryForFile(configFile);
  resourcesDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  pagesDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  tempDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  outputDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  qaDir=Utilities.path(root,str(paths,"String_Node_Str"));
  specPath=str(paths,"String_Node_Str");
  instanceTemplate=Utilities.path(root,str(paths,"String_Node_Str"));
  igName=Utilities.path(resourcesDir,configuration.get("String_Node_Str").getAsString());
  log("String_Node_Str" + igName);
  log("String_Node_Str");
  checkDir(resourcesDir);
  checkDir(pagesDir);
  forceDir(tempDir);
  forceDir(Utilities.path(tempDir,"String_Node_Str"));
  forceDir(Utilities.path(tempDir,"String_Node_Str"));
  forceDir(outputDir);
  forceDir(qaDir);
  checkFile(instanceTemplate);
  log("String_Node_Str");
  try {
    context=SimpleWorkerContext.fromClassPath("String_Node_Str");
  }
 catch (  NullPointerException npe) {
    log("String_Node_Str");
    context=SimpleWorkerContext.fromPack("String_Node_Str");
  }
  context.setAllowLoadingDuplicates(true);
  context.setExpandCodesLimit(1000);
  log("String_Node_Str" + txServer);
  String vsCache=Utilities.path(System.getProperty("String_Node_Str"),"String_Node_Str");
  Utilities.createDirectory(vsCache);
  context.initTS(vsCache,txServer);
  context.connectToTSServer(txServer);
  validator=new InstanceValidator(context);
  validator.setAllowXsiLocation(true);
  loadSpecDetails(context.getBinaries().get("String_Node_Str"));
  igpkp=new IGKnowledgeProvider(context,specPath,configuration,errors);
  igpkp.loadSpecPaths(specDetails.get("String_Node_Str").getAsJsonObject());
  fetcher.setPkp(igpkp);
  for (  String s : context.getBinaries().keySet())   if (needFile(s)) {
    checkMakeFile(context.getBinaries().get(s),Utilities.path(qaDir,s));
    checkMakeFile(context.getBinaries().get(s),Utilities.path(tempDir,s));
  }
}

Fixed version (ground truth):
private void initialize() throws Exception {
  first=true;
  log("String_Node_Str");
  configuration=(JsonObject)new com.google.gson.JsonParser().parse(TextFile.fileToString(configFile));
  if (!"String_Node_Str".equals(str(configuration,"String_Node_Str")))   throw new Exception("String_Node_Str");
  tool=GenerationTool.Jekyll;
  if (!configuration.has("String_Node_Str") || !(configuration.get("String_Node_Str") instanceof JsonObject))   throw new Exception("String_Node_Str");
  if (tool == GenerationTool.Jekyll)   findRubyExe();
  JsonObject paths=configuration.getAsJsonObject("String_Node_Str");
  String root=Utilities.getDirectoryForFile(configFile);
  if (Utilities.noString(root))   root=getCurentDirectory();
  resourcesDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  pagesDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  tempDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  outputDir=Utilities.path(root,str(paths,"String_Node_Str","String_Node_Str"));
  qaDir=Utilities.path(root,str(paths,"String_Node_Str"));
  specPath=str(paths,"String_Node_Str");
  instanceTemplate=Utilities.path(root,str(paths,"String_Node_Str"));
  igName=Utilities.path(resourcesDir,configuration.get("String_Node_Str").getAsString());
  log("String_Node_Str" + igName);
  log("String_Node_Str");
  checkDir(resourcesDir);
  checkDir(pagesDir);
  forceDir(tempDir);
  forceDir(Utilities.path(tempDir,"String_Node_Str"));
  forceDir(Utilities.path(tempDir,"String_Node_Str"));
  forceDir(outputDir);
  forceDir(qaDir);
  checkFile(instanceTemplate);
  log("String_Node_Str");
  try {
    context=SimpleWorkerContext.fromClassPath("String_Node_Str");
  }
 catch (  NullPointerException npe) {
    log("String_Node_Str");
    context=SimpleWorkerContext.fromPack("String_Node_Str");
  }
  context.setAllowLoadingDuplicates(true);
  context.setExpandCodesLimit(1000);
  log("String_Node_Str" + txServer);
  String vsCache=Utilities.path(System.getProperty("String_Node_Str"),"String_Node_Str");
  Utilities.createDirectory(vsCache);
  context.initTS(vsCache,txServer);
  context.connectToTSServer(txServer);
  validator=new InstanceValidator(context);
  validator.setAllowXsiLocation(true);
  loadSpecDetails(context.getBinaries().get("String_Node_Str"));
  igpkp=new IGKnowledgeProvider(context,specPath,configuration,errors);
  igpkp.loadSpecPaths(specDetails.get("String_Node_Str").getAsJsonObject());
  fetcher.setPkp(igpkp);
  for (  String s : context.getBinaries().keySet())   if (needFile(s)) {
    checkMakeFile(context.getBinaries().get(s),Utilities.path(qaDir,s));
    checkMakeFile(context.getBinaries().get(s),Utilities.path(tempDir,s));
  }
}