Program: 53749
Project: 53749
Buggy source:
/** 
 * info lookup for a selected transaction
 * @param traceIdParam
 * @param focusTimestamp
 * @return
 */
@RequestMapping(value="String_Node_Str",method=RequestMethod.GET) public ModelAndView transactionInfo(@RequestParam("String_Node_Str") String traceIdParam,@RequestParam(value="String_Node_Str",required=false,defaultValue="String_Node_Str") long focusTimestamp,@RequestParam(value="String_Node_Str",required=false,defaultValue="String_Node_Str") int viewVersion,HttpServletResponse response){
  logger.debug("String_Node_Str",traceIdParam);
  final TransactionId traceId=new TransactionId(traceIdParam);
  final SpanResult spanResult=this.spanService.selectSpan(traceId,focusTimestamp);
  final CallTreeIterator callTreeIterator=spanResult.getCallTree();
  if (callTreeIterator.isEmpty()) {
    final ModelAndView error=new ModelAndView();
    error.addObject("String_Node_Str",9);
    error.addObject("String_Node_Str","String_Node_Str" + traceId);
    error.setViewName("String_Node_Str");
    return error;
  }
  final ModelAndView mv=new ModelAndView();
  mv.addObject("String_Node_Str",callTreeIterator.values());
  mv.addObject("String_Node_Str",traceId);
  ApplicationMap map=filteredMapService.selectApplicationMap(traceId);
  mv.addObject("String_Node_Str",map.getNodes());
  mv.addObject("String_Node_Str",map.getLinks());
  RecordSet recordSet=this.transactionInfoService.createRecordSet(callTreeIterator,focusTimestamp);
  mv.addObject("String_Node_Str",recordSet);
  mv.addObject("String_Node_Str",recordSet.getApplicationName());
  mv.addObject("String_Node_Str",recordSet.getRecordList());
  mv.addObject("String_Node_Str",recordSet.getRecordList());
  mv.addObject("String_Node_Str",recordSet.getStartTime());
  mv.addObject("String_Node_Str",recordSet.getEndTime());
  mv.addObject("String_Node_Str",spanResult.getCompleteTypeString());
  mv.addObject("String_Node_Str",logLinkEnable);
  if (logLinkEnable) {
    mv.addObject("String_Node_Str",recordSet.isLoggingTransactionInfo());
    mv.addObject("String_Node_Str",logButtonName);
    mv.addObject("String_Node_Str",logPageUrl);
    mv.addObject("String_Node_Str",disableButtonMessage);
  }
  if (viewVersion == 2) {
    mv.setViewName("String_Node_Str");
  }
 else {
    mv.setViewName("String_Node_Str");
  }
  return mv;
}

Fixed version (ground truth):
/** 
 * info lookup for a selected transaction
 * @param traceIdParam
 * @param focusTimestamp
 * @return
 */
@RequestMapping(value="String_Node_Str",method=RequestMethod.GET) public ModelAndView transactionInfo(@RequestParam("String_Node_Str") String traceIdParam,@RequestParam(value="String_Node_Str",required=false,defaultValue="String_Node_Str") long focusTimestamp,@RequestParam(value="String_Node_Str",required=false,defaultValue="String_Node_Str") int viewVersion,HttpServletResponse response){
  logger.debug("String_Node_Str",traceIdParam);
  final TransactionId traceId=new TransactionId(traceIdParam);
  final SpanResult spanResult=this.spanService.selectSpan(traceId,focusTimestamp);
  final CallTreeIterator callTreeIterator=spanResult.getCallTree();
  if (callTreeIterator.isEmpty()) {
    final ModelAndView error=new ModelAndView();
    error.addObject("String_Node_Str",9);
    error.addObject("String_Node_Str","String_Node_Str" + traceId);
    error.setViewName("String_Node_Str");
    return error;
  }
  final ModelAndView mv=new ModelAndView();
  mv.addObject("String_Node_Str",callTreeIterator.values());
  mv.addObject("String_Node_Str",traceId);
  ApplicationMap map=filteredMapService.selectApplicationMap(traceId);
  mv.addObject("String_Node_Str",map.getNodes());
  mv.addObject("String_Node_Str",map.getLinks());
  RecordSet recordSet=this.transactionInfoService.createRecordSet(callTreeIterator,focusTimestamp);
  mv.addObject("String_Node_Str",recordSet);
  mv.addObject("String_Node_Str",recordSet.getApplicationName());
  mv.addObject("String_Node_Str",recordSet.getRecordList());
  mv.addObject("String_Node_Str",recordSet.getRecordList());
  mv.addObject("String_Node_Str",recordSet.getStartTime());
  mv.addObject("String_Node_Str",recordSet.getEndTime());
  mv.addObject("String_Node_Str",spanResult.getCompleteTypeString());
  mv.addObject("String_Node_Str",logLinkEnable);
  mv.addObject("String_Node_Str",recordSet.isLoggingTransactionInfo());
  mv.addObject("String_Node_Str",logButtonName);
  mv.addObject("String_Node_Str",logPageUrl);
  mv.addObject("String_Node_Str",disableButtonMessage);
  if (viewVersion == 2) {
    mv.setViewName("String_Node_Str");
  }
 else {
    mv.setViewName("String_Node_Str");
  }
  return mv;
}