Program: 109533
Project: 109533
Buggy source:
@Override public void perform(GraphRewrite event,EvaluationContext context,FileModel payload){
  WindupRoasterWildcardImportResolver.setGraphContext(event.getGraphContext());
  try {
    TechnologyTagService technologyTagService=new TechnologyTagService(event.getGraphContext());
    GraphContext graphContext=event.getGraphContext();
    WindupConfigurationModel configuration=new GraphService<>(graphContext,WindupConfigurationModel.class).getUnique();
    String inputDir=configuration.getInputPath().getFilePath();
    inputDir=Paths.get(inputDir).toAbsolutePath().toString();
    String filepath=payload.getFilePath();
    filepath=Paths.get(filepath).toAbsolutePath().toString();
    if (!filepath.startsWith(inputDir)) {
      return;
    }
    String classFilePath=filepath.substring(inputDir.length() + 1);
    String qualifiedName=classFilePath.replace(File.separatorChar,'.').substring(0,classFilePath.length() - JAVA_SUFFIX_LEN);
    String packageName="String_Node_Str";
    if (qualifiedName.contains("String_Node_Str"))     packageName=qualifiedName.substring(0,qualifiedName.lastIndexOf("String_Node_Str"));
    if (packageName.startsWith("String_Node_Str")) {
      packageName=packageName.substring("String_Node_Str".length());
    }
    JavaSourceFileModel javaFileModel=GraphService.addTypeToModel(graphContext,payload,JavaSourceFileModel.class);
    technologyTagService.addTagToFileModel(javaFileModel,TECH_TAG,TECH_TAG_LEVEL);
    javaFileModel.setPackageName(packageName);
    try (FileInputStream fis=new FileInputStream(payload.getFilePath())){
      addParsedClassToFile(fis,event.getGraphContext(),javaFileModel);
    }
 catch (    FileNotFoundException e) {
      throw new WindupException("String_Node_Str" + payload.getFilePath() + "String_Node_Str",e);
    }
catch (    IOException e) {
      throw new WindupException("String_Node_Str" + payload.getFilePath(),e);
    }
catch (    Exception e) {
      LOG.log(Level.WARNING,"String_Node_Str" + payload.getFilePath() + "String_Node_Str"+ e.getMessage(),e);
      ClassificationService classificationService=new ClassificationService(graphContext);
      classificationService.attachClassification(javaFileModel,JavaSourceFileModel.UNPARSEABLE_JAVA_CLASSIFICATION,JavaSourceFileModel.UNPARSEABLE_JAVA_DESCRIPTION);
      return;
    }
  }
  finally {
    WindupRoasterWildcardImportResolver.setGraphContext(null);
  }
}

Fixed version (ground truth):
@Override public void perform(GraphRewrite event,EvaluationContext context,FileModel payload){
  WindupRoasterWildcardImportResolver.setGraphContext(event.getGraphContext());
  try {
    TechnologyTagService technologyTagService=new TechnologyTagService(event.getGraphContext());
    GraphContext graphContext=event.getGraphContext();
    WindupConfigurationModel configuration=new GraphService<>(graphContext,WindupConfigurationModel.class).getUnique();
    String inputDir=configuration.getInputPath().getFilePath();
    inputDir=Paths.get(inputDir).toAbsolutePath().toString();
    String filepath=payload.getFilePath();
    filepath=Paths.get(filepath).toAbsolutePath().toString();
    String classFilePath;
    if (filepath.startsWith(inputDir)) {
      classFilePath=filepath.substring(inputDir.length() + 1);
    }
 else {
      classFilePath=payload.getPrettyPathWithinProject();
    }
    String qualifiedName=classFilePath.replace(File.separatorChar,'.').substring(0,classFilePath.length() - JAVA_SUFFIX_LEN);
    String packageName="String_Node_Str";
    if (qualifiedName.contains("String_Node_Str"))     packageName=qualifiedName.substring(0,qualifiedName.lastIndexOf("String_Node_Str"));
    if (packageName.startsWith("String_Node_Str")) {
      packageName=packageName.substring("String_Node_Str".length());
    }
    JavaSourceFileModel javaFileModel=GraphService.addTypeToModel(graphContext,payload,JavaSourceFileModel.class);
    technologyTagService.addTagToFileModel(javaFileModel,TECH_TAG,TECH_TAG_LEVEL);
    javaFileModel.setPackageName(packageName);
    try (FileInputStream fis=new FileInputStream(payload.getFilePath())){
      addParsedClassToFile(fis,event.getGraphContext(),javaFileModel);
    }
 catch (    FileNotFoundException e) {
      throw new WindupException("String_Node_Str" + payload.getFilePath() + "String_Node_Str",e);
    }
catch (    IOException e) {
      throw new WindupException("String_Node_Str" + payload.getFilePath(),e);
    }
catch (    Exception e) {
      LOG.log(Level.WARNING,"String_Node_Str" + payload.getFilePath() + "String_Node_Str"+ e.getMessage(),e);
      ClassificationService classificationService=new ClassificationService(graphContext);
      classificationService.attachClassification(javaFileModel,JavaSourceFileModel.UNPARSEABLE_JAVA_CLASSIFICATION,JavaSourceFileModel.UNPARSEABLE_JAVA_DESCRIPTION);
      return;
    }
  }
  finally {
    WindupRoasterWildcardImportResolver.setGraphContext(null);
  }
}