Program: 188339
Project: 188339
Buggy source:
@Override protected void configureDisplay(CellTable<IndexedReport> display){
  sourceColumn=new TooltipTextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport report){
      String value="String_Node_Str";
      if (report != null) {
        value=report.getSourceObjectOriginalIds().isEmpty() ? report.getSourceObjectId() : StringUtils.prettyPrint(report.getSourceObjectOriginalIds());
        sourceClass=report.getSourceObjectClass();
      }
      return value;
    }
  }
;
  outcomeColumn=new TooltipTextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport report){
      String value="String_Node_Str";
      if (report != null) {
        if (StringUtils.isNotBlank(report.getOutcomeObjectLabel())) {
          value=report.getOutcomeObjectLabel() + "String_Node_Str" + report.getOutcomeObjectId()+ "String_Node_Str";
        }
 else {
          value=report.getOutcomeObjectId();
        }
      }
      return value;
    }
  }
;
  updatedDateColumn=new Column<IndexedReport,Date>(new DateCell(DateTimeFormat.getFormat(RodaConstants.DEFAULT_DATETIME_FORMAT))){
    @Override public Date getValue(    IndexedReport job){
      return job != null ? job.getDateUpdated() : null;
    }
  }
;
  lastPluginRunColumn=new TextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport job){
      String value=null;
      if (job != null) {
        String jobPlugin=job.getPlugin();
        if (jobPlugin != null) {
          PluginInfo pluginInfo=pluginsInfo.get(jobPlugin);
          String pluginName;
          if (pluginInfo != null) {
            pluginName=pluginInfo.getName();
          }
 else {
            pluginName=jobPlugin;
          }
          value=messages.pluginLabel(pluginName,job.getPluginVersion());
        }
      }
      return value;
    }
  }
;
  lastPluginRunStateColumn=new Column<IndexedReport,SafeHtml>(new SafeHtmlCell()){
    @Override public SafeHtml getValue(    IndexedReport report){
      SafeHtml ret=null;
      if (report != null) {
switch (report.getPluginState()) {
case SUCCESS:
          ret=SafeHtmlUtils.fromSafeConstant("String_Node_Str" + messages.pluginStateMessage(PluginState.SUCCESS) + "String_Node_Str");
        break;
case RUNNING:
      ret=SafeHtmlUtils.fromSafeConstant("String_Node_Str" + messages.pluginStateMessage(PluginState.RUNNING) + "String_Node_Str");
    break;
case FAILURE:
default :
  ret=SafeHtmlUtils.fromSafeConstant("String_Node_Str" + messages.pluginStateMessage(PluginState.FAILURE) + "String_Node_Str");
break;
}
}
return ret;
}
}
;
completionStatusColumn=new TextColumn<IndexedReport>(){
@Override public String getValue(IndexedReport report){
String value="String_Node_Str";
if (report != null) {
value=report.getStepsCompleted() + "String_Node_Str" + messages.of()+ "String_Node_Str"+ report.getTotalSteps()+ "String_Node_Str"+ report.getCompletionPercentage()+ "String_Node_Str";
}
return value;
}
}
;
sourceColumn.setSortable(true);
outcomeColumn.setSortable(true);
updatedDateColumn.setSortable(true);
lastPluginRunColumn.setSortable(true);
lastPluginRunStateColumn.setSortable(true);
completionStatusColumn.setSortable(false);
addColumn(sourceColumn,messages.reportSource(),true,false);
addColumn(outcomeColumn,messages.reportOutcome(),true,false);
addColumn(updatedDateColumn,messages.reportLastUpdatedAt(),true,false,11);
addColumn(lastPluginRunColumn,messages.reportLastRunTask(),true,false);
addColumn(lastPluginRunStateColumn,messages.reportStatus(),true,false,8);
addColumn(completionStatusColumn,messages.reportProgress(),true,false,8);
Label emptyInfo=new Label(messages.noItemsToDisplay());
display.setEmptyTableWidget(emptyInfo);
display.getColumnSortList().push(new ColumnSortInfo(updatedDateColumn,false));
}

Fixed version (ground truth):
@Override protected void configureDisplay(CellTable<IndexedReport> display){
  sourceColumn=new TooltipTextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport report){
      String value="String_Node_Str";
      if (report != null) {
        value=report.getSourceObjectOriginalIds().isEmpty() ? report.getSourceObjectId() : StringUtils.prettyPrint(report.getSourceObjectOriginalIds());
        sourceClass=report.getSourceObjectClass();
      }
      return value;
    }
  }
;
  outcomeColumn=new TooltipTextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport report){
      String value="String_Node_Str";
      if (report != null) {
        if (StringUtils.isNotBlank(report.getOutcomeObjectLabel())) {
          value=report.getOutcomeObjectLabel() + "String_Node_Str" + report.getOutcomeObjectId()+ "String_Node_Str";
        }
 else {
          value=report.getOutcomeObjectId();
        }
      }
      return value;
    }
  }
;
  updatedDateColumn=new Column<IndexedReport,Date>(new DateCell(DateTimeFormat.getFormat(RodaConstants.DEFAULT_DATETIME_FORMAT))){
    @Override public Date getValue(    IndexedReport job){
      return job != null ? job.getDateUpdated() : null;
    }
  }
;
  lastPluginRunColumn=new TextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport job){
      String value=null;
      if (job != null) {
        String jobPlugin=job.getPlugin();
        if (jobPlugin != null) {
          PluginInfo pluginInfo=pluginsInfo.get(jobPlugin);
          String pluginName;
          if (pluginInfo != null) {
            pluginName=pluginInfo.getName();
          }
 else {
            pluginName=jobPlugin;
          }
          if (StringUtils.isNotBlank(job.getPluginVersion())) {
            value=messages.pluginLabelWithVersion(pluginName,job.getPluginVersion());
          }
 else {
            value=messages.pluginLabel(pluginName);
          }
        }
      }
      return value;
    }
  }
;
  lastPluginRunStateColumn=new Column<IndexedReport,SafeHtml>(new SafeHtmlCell()){
    @Override public SafeHtml getValue(    IndexedReport report){
      SafeHtml ret=null;
      if (report != null) {
switch (report.getPluginState()) {
case SUCCESS:
          ret=SafeHtmlUtils.fromSafeConstant("String_Node_Str" + messages.pluginStateMessage(PluginState.SUCCESS) + "String_Node_Str");
        break;
case RUNNING:
      ret=SafeHtmlUtils.fromSafeConstant("String_Node_Str" + messages.pluginStateMessage(PluginState.RUNNING) + "String_Node_Str");
    break;
case FAILURE:
default :
  ret=SafeHtmlUtils.fromSafeConstant("String_Node_Str" + messages.pluginStateMessage(PluginState.FAILURE) + "String_Node_Str");
break;
}
}
return ret;
}
}
;
completionStatusColumn=new TextColumn<IndexedReport>(){
@Override public String getValue(IndexedReport report){
String value="String_Node_Str";
if (report != null) {
value=report.getStepsCompleted() + "String_Node_Str" + messages.of()+ "String_Node_Str"+ report.getTotalSteps()+ "String_Node_Str"+ report.getCompletionPercentage()+ "String_Node_Str";
}
return value;
}
}
;
sourceColumn.setSortable(true);
outcomeColumn.setSortable(true);
updatedDateColumn.setSortable(true);
lastPluginRunColumn.setSortable(true);
lastPluginRunStateColumn.setSortable(true);
completionStatusColumn.setSortable(false);
addColumn(sourceColumn,messages.reportSource(),true,false);
addColumn(outcomeColumn,messages.reportOutcome(),true,false);
addColumn(updatedDateColumn,messages.reportLastUpdatedAt(),true,false,11);
addColumn(lastPluginRunColumn,messages.reportLastRunTask(),true,false);
addColumn(lastPluginRunStateColumn,messages.reportStatus(),true,false,8);
addColumn(completionStatusColumn,messages.reportProgress(),true,false,8);
Label emptyInfo=new Label(messages.noItemsToDisplay());
display.setEmptyTableWidget(emptyInfo);
display.getColumnSortList().push(new ColumnSortInfo(updatedDateColumn,false));
}