Program: 23963
Project: 23963
Buggy source:
private void generateOutputs(FetchedFile f){
  if (f.isNoProcess()) {
    String dst=tempDir + f.getPath().substring(pagesDir.length());
    try {
      if (f.isFolder()) {
        f.getOutputNames().add(dst);
        Utilities.createDirectory(dst);
      }
 else       checkMakeFile(f.getSource(),dst,f.getOutputNames());
    }
 catch (    IOException e) {
      log("String_Node_Str" + dst + "String_Node_Str"+ e.getMessage());
    }
  }
 else {
    for (    FetchedResource r : f.getResources()) {
      try {
        saveDirectResourceOutputs(f,r,makeVars(r));
        if (r.getResource() != null) {
switch (r.getResource().getResourceType()) {
case CodeSystem:
            generateOutputsCodeSystem(f,r,(CodeSystem)r.getResource());
          break;
case ValueSet:
        generateOutputsValueSet(f,r,(ValueSet)r.getResource());
      break;
case ConceptMap:
    generateOutputsConceptMap(f,r,(ConceptMap)r.getResource());
  break;
case DataElement:
break;
case StructureDefinition:
generateOutputsStructureDefinition(f,r,(StructureDefinition)r.getResource());
break;
case StructureMap:
generateOutputsStructureMap(f,r,(StructureMap)r.getResource());
break;
default :
}
}
}
 catch (Exception e) {
log("String_Node_Str" + f.getName() + "String_Node_Str"+ r.getElement().fhirType()+ "String_Node_Str"+ r.getId()+ "String_Node_Str"+ e.getMessage());
e.printStackTrace();
}
}
}
}

Fixed version (ground truth):
private void generateOutputs(FetchedFile f) throws TransformerException {
  if (f.getProcessMode() == FetchedFile.PROCESS_NONE) {
    String dst=tempDir + f.getPath().substring(pagesDir.length());
    try {
      if (f.isFolder()) {
        f.getOutputNames().add(dst);
        Utilities.createDirectory(dst);
      }
 else       checkMakeFile(f.getSource(),dst,f.getOutputNames());
    }
 catch (    IOException e) {
      log("String_Node_Str" + dst + "String_Node_Str"+ e.getMessage());
    }
  }
 else   if (f.getProcessMode() == FetchedFile.PROCESS_XSLT) {
    String dst=tempDir + f.getPath().substring(pagesDir.length());
    try {
      if (f.isFolder()) {
        f.getOutputNames().add(dst);
        Utilities.createDirectory(dst);
      }
 else       checkMakeFile(transform(f.getSource()),dst,f.getOutputNames());
    }
 catch (    IOException e) {
      log("String_Node_Str" + dst + "String_Node_Str"+ e.getMessage());
    }
  }
 else {
    for (    FetchedResource r : f.getResources()) {
      try {
        saveDirectResourceOutputs(f,r,makeVars(r));
        if (r.getResource() != null) {
switch (r.getResource().getResourceType()) {
case CodeSystem:
            generateOutputsCodeSystem(f,r,(CodeSystem)r.getResource());
          break;
case ValueSet:
        generateOutputsValueSet(f,r,(ValueSet)r.getResource());
      break;
case ConceptMap:
    generateOutputsConceptMap(f,r,(ConceptMap)r.getResource());
  break;
case DataElement:
break;
case StructureDefinition:
generateOutputsStructureDefinition(f,r,(StructureDefinition)r.getResource());
break;
case StructureMap:
generateOutputsStructureMap(f,r,(StructureMap)r.getResource());
break;
default :
}
}
}
 catch (Exception e) {
log("String_Node_Str" + f.getName() + "String_Node_Str"+ r.getElement().fhirType()+ "String_Node_Str"+ r.getId()+ "String_Node_Str"+ e.getMessage());
e.printStackTrace();
}
}
}
}