Program: 188338
Project: 188338
Buggy source:
@Override protected void configureDisplay(CellTable<IndexedReport> display){
  sourceObjectColumn=new TooltipTextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport report){
      String value="String_Node_Str";
      if (report != null) {
        if (report.getSourceObjectOriginalIds().isEmpty()) {
          value=report.getSourceObjectId();
        }
 else {
          value=StringUtils.prettyPrint(report.getSourceObjectOriginalIds());
        }
        value=report.getSourceObjectOriginalName() + "String_Node_Str" + value+ "String_Node_Str";
      }
      return value;
    }
  }
;
  outcomeObjectColumn=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 && job.getPlugin() != null) {
        PluginInfo pluginInfo=pluginsInfo.get(job.getPlugin());
        String pluginName;
        if (pluginInfo != null) {
          pluginName=pluginInfo.getName();
        }
 else {
          pluginName=job.getPlugin();
        }
        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;
}
}
;
sourceObjectColumn.setSortable(true);
outcomeObjectColumn.setSortable(true);
updatedDateColumn.setSortable(true);
lastPluginRunColumn.setSortable(true);
lastPluginRunStateColumn.setSortable(true);
completionStatusColumn.setSortable(false);
addColumn(sourceObjectColumn,messages.showSIPExtended(),true,false);
addColumn(outcomeObjectColumn,messages.showAIPExtended(),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){
  sourceObjectColumn=new TooltipTextColumn<IndexedReport>(){
    @Override public String getValue(    IndexedReport report){
      String value="String_Node_Str";
      if (report != null) {
        if (report.getSourceObjectOriginalIds().isEmpty()) {
          value=report.getSourceObjectId();
        }
 else {
          value=StringUtils.prettyPrint(report.getSourceObjectOriginalIds());
        }
        value=report.getSourceObjectOriginalName() + "String_Node_Str" + value+ "String_Node_Str";
      }
      return value;
    }
  }
;
  outcomeObjectColumn=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 && job.getPlugin() != null) {
        PluginInfo pluginInfo=pluginsInfo.get(job.getPlugin());
        String pluginName;
        if (pluginInfo != null) {
          pluginName=pluginInfo.getName();
        }
 else {
          pluginName=job.getPlugin();
        }
        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;
}
}
;
sourceObjectColumn.setSortable(true);
outcomeObjectColumn.setSortable(true);
updatedDateColumn.setSortable(true);
lastPluginRunColumn.setSortable(true);
lastPluginRunStateColumn.setSortable(true);
completionStatusColumn.setSortable(false);
addColumn(sourceObjectColumn,messages.showSIPExtended(),true,false);
addColumn(outcomeObjectColumn,messages.showAIPExtended(),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));
}