Program: 86834
Project: 86834
Buggy source:
/** 
 * @param model
 * @return
 */
@SuppressWarnings("String_Node_Str") @RequestMapping("String_Node_Str") public String viewDataset(@RequestParam(required=false,value="String_Node_Str") Integer id,@RequestParam(required=false,value="String_Node_Str") String type,@RequestParam(required=false,value="String_Node_Str") String cohortId,@RequestParam(required=false,value="String_Node_Str") String dataSetId,@RequestParam(required=false,value="String_Node_Str") String indicatorId,@RequestParam(required=false,value="String_Node_Str") Integer limit,ModelMap model){
  if (cohortId != null && dataSetId != null) {
    DataSetDefinition dataSetDefinition=getDataSetDefinition(dataSetId,type,id);
    model.addAttribute("String_Node_Str",dataSetDefinition == null ? new PatientDataSetDefinition() : dataSetDefinition);
    Cohort cohort=evaluateCohort(cohortId);
    log.info("String_Node_Str" + cohort.size());
    model.addAttribute("String_Node_Str",cohort);
    model.addAttribute("String_Node_Str",Context.getService(CohortDefinitionService.class).getCohortDefinitionByUuid(cohortId));
    if (cohort == null || cohortId.equals("String_Node_Str"))     cohort=Context.getPatientSetService().getAllPatients();
    EvaluationContext context=new EvaluationContext();
    context.setLimit(limit);
    context.setBaseCohort(cohort);
    log.info("String_Node_Str" + context.getBaseCohort().size());
    model.addAttribute("String_Node_Str",Context.getService(DataSetDefinitionService.class).evaluate(dataSetDefinition,context));
  }
  model.addAttribute("String_Node_Str",Context.getService(CohortDefinitionService.class).getAllCohortDefinitions(false));
  model.addAttribute("String_Node_Str",Context.getService(DataSetDefinitionService.class).getAllDataSetDefinitions(false));
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * @param model
 * @return
 */
@SuppressWarnings("String_Node_Str") @RequestMapping("String_Node_Str") public String viewDataset(@RequestParam(required=false,value="String_Node_Str") Integer id,@RequestParam(required=false,value="String_Node_Str") String type,@RequestParam(required=false,value="String_Node_Str") String cohortId,@RequestParam(required=false,value="String_Node_Str") String dataSetId,@RequestParam(required=false,value="String_Node_Str") String indicatorId,@RequestParam(required=false,value="String_Node_Str") Integer limit,ModelMap model){
  DataSetDefinition dataSetDefinition=getDataSetDefinition(dataSetId,type,id);
  model.addAttribute("String_Node_Str",dataSetDefinition);
  if (cohortId != null && dataSetId != null) {
    Cohort cohort=evaluateCohort(cohortId);
    log.info("String_Node_Str" + cohort.size());
    model.addAttribute("String_Node_Str",cohort);
    model.addAttribute("String_Node_Str",Context.getService(CohortDefinitionService.class).getCohortDefinitionByUuid(cohortId));
    if (cohort == null || cohortId.equals("String_Node_Str"))     cohort=Context.getPatientSetService().getAllPatients();
    EvaluationContext context=new EvaluationContext();
    context.setLimit(limit);
    context.setBaseCohort(cohort);
    log.info("String_Node_Str" + context.getBaseCohort().size());
    model.addAttribute("String_Node_Str",Context.getService(DataSetDefinitionService.class).evaluate(dataSetDefinition,context));
  }
  model.addAttribute("String_Node_Str",Context.getService(CohortDefinitionService.class).getAllCohortDefinitions(false));
  model.addAttribute("String_Node_Str",Context.getService(DataSetDefinitionService.class).getAllDataSetDefinitions(false));
  return "String_Node_Str";
}