Program: 109486
Project: 109486
Buggy source:
private ApplicationReportModel createApplicationReport(GraphContext context,ProjectModel projectModel){
  ApplicationReportModel applicationReportModel=context.getFramed().addVertex(null,ApplicationReportModel.class);
  applicationReportModel.setReportPriority(100);
  applicationReportModel.setDisplayInApplicationReportIndex(true);
  applicationReportModel.setReportName(OVERVIEW);
  applicationReportModel.setReportIconClass("String_Node_Str");
  applicationReportModel.setMainApplicationReport(true);
  applicationReportModel.setProjectModel(projectModel);
  applicationReportModel.setTemplatePath(TEMPLATE_APPLICATION_REPORT);
  applicationReportModel.setTemplateType(TemplateType.FREEMARKER);
  applicationReportModel.setDisplayInApplicationList(true);
  GraphService<OverviewReportLineMessageModel> lineNotesService=new GraphService<OverviewReportLineMessageModel>(context,OverviewReportLineMessageModel.class);
  Iterable<OverviewReportLineMessageModel> findAll=lineNotesService.findAll();
  for (  OverviewReportLineMessageModel find : findAll) {
    String projectPrettyPath=projectModel.getRootFileModel().getPrettyPath();
    ProjectModel project=find.getProject();
    boolean found=false;
    while (project != null && !found) {
      if (projectPrettyPath.equals(project.getRootFileModel().getPrettyPath())) {
        applicationReportModel.addApplicationReportLine(find);
        found=true;
      }
 else {
        project=project.getParentProject();
      }
    }
  }
  ReportService reportService=new ReportService(context);
  reportService.setUniqueFilename(applicationReportModel,projectModel.getName(),"String_Node_Str");
  return applicationReportModel;
}

Fixed version (ground truth):
private ApplicationReportModel createApplicationReport(GraphContext context,ProjectModel projectModel){
  ApplicationReportModel applicationReportModel=context.getFramed().addVertex(null,ApplicationReportModel.class);
  applicationReportModel.setReportPriority(100);
  applicationReportModel.setDisplayInApplicationReportIndex(true);
  applicationReportModel.setReportName(OVERVIEW);
  applicationReportModel.setReportIconClass("String_Node_Str");
  applicationReportModel.setMainApplicationReport(true);
  applicationReportModel.setProjectModel(projectModel);
  applicationReportModel.setTemplatePath(TEMPLATE_APPLICATION_REPORT);
  applicationReportModel.setTemplateType(TemplateType.FREEMARKER);
  applicationReportModel.setDisplayInApplicationList(true);
  GraphService<OverviewReportLineMessageModel> lineNotesService=new GraphService<OverviewReportLineMessageModel>(context,OverviewReportLineMessageModel.class);
  Iterable<OverviewReportLineMessageModel> findAll=lineNotesService.findAll();
  for (  OverviewReportLineMessageModel find : findAll) {
    String projectPrettyPath=projectModel.getRootFileModel().getPrettyPath();
    if (projectPrettyPath == null) {
      throw new WindupException("String_Node_Str" + projectModel + "String_Node_Str");
    }
    ProjectModel project=find.getProject();
    boolean found=false;
    while (project != null && !found) {
      if (project.getRootFileModel() == null) {
        throw new WindupException("String_Node_Str" + project + "String_Node_Str");
      }
      if (projectPrettyPath.equals(project.getRootFileModel().getPrettyPath())) {
        applicationReportModel.addApplicationReportLine(find);
        found=true;
      }
 else {
        project=project.getParentProject();
      }
    }
  }
  ReportService reportService=new ReportService(context);
  reportService.setUniqueFilename(applicationReportModel,projectModel.getName(),"String_Node_Str");
  return applicationReportModel;
}