Program: 188595
Project: 188595
Buggy source:
@Override protected void configureDisplay(CellTable<LogEntry> display){
  dateColumn=new Column<LogEntry,Date>(new DateCell(DateTimeFormat.getFormat(PredefinedFormat.DATE_TIME_MEDIUM))){
    @Override public Date getValue(    LogEntry logEntry){
      return logEntry != null ? logEntry.getDatetime() : null;
    }
  }
;
  actionComponentColumn=new Column<LogEntry,SafeHtml>(new SafeHtmlCell()){
    @Override public SafeHtml getValue(    LogEntry entry){
      return SafeHtmlUtils.fromSafeConstant(translate("String_Node_Str",entry.getActionComponent()));
    }
  }
;
  actionMethodColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      if (logEntry == null) {
        return null;
      }
      return StringUtils.getPrettifiedActionMethod(logEntry.getActionMethod());
    }
  }
;
  usernameColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      return logEntry != null ? logEntry.getUsername() : null;
    }
  }
;
  durationColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      return logEntry != null ? Humanize.durationMillisToShortDHMS(logEntry.getDuration()) : null;
    }
  }
;
  addressColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      return logEntry != null ? logEntry.getAddress() : null;
    }
  }
;
  stateColumn=new Column<LogEntry,SafeHtml>(new SafeHtmlCell()){
    @Override public SafeHtml getValue(    LogEntry logEntry){
      return HtmlSnippetUtils.getLogEntryStateHtml(logEntry.getState());
    }
  }
;
  dateColumn.setSortable(true);
  actionComponentColumn.setSortable(true);
  actionMethodColumn.setSortable(true);
  usernameColumn.setSortable(true);
  durationColumn.setSortable(true);
  addressColumn.setSortable(true);
  stateColumn.setSortable(true);
  addColumn(dateColumn,messages.logEntryDatetimeExtended(),true,false,14);
  addColumn(actionComponentColumn,messages.logEntryComponent(),true,false);
  addColumn(actionMethodColumn,messages.logEntryMethod(),true,false);
  addColumn(usernameColumn,messages.logEntryUser(),true,false);
  addColumn(durationColumn,messages.logEntryDuration(),true,true,5);
  addColumn(addressColumn,messages.logEntryAddress(),true,false);
  addColumn(stateColumn,messages.logEntryState(),true,false);
  display.getColumnSortList().push(new ColumnSortInfo(dateColumn,false));
  addStyleName("String_Node_Str");
}

Fixed version (ground truth):
@Override protected void configureDisplay(CellTable<LogEntry> display){
  dateColumn=new Column<LogEntry,Date>(new DateCell(DateTimeFormat.getFormat(PredefinedFormat.DATE_TIME_MEDIUM))){
    @Override public Date getValue(    LogEntry logEntry){
      return logEntry != null ? logEntry.getDatetime() : null;
    }
  }
;
  actionComponentColumn=new Column<LogEntry,SafeHtml>(new SafeHtmlCell()){
    @Override public SafeHtml getValue(    LogEntry entry){
      return SafeHtmlUtils.fromSafeConstant(translate(RodaConstants.LOG_ACTION_COMPONENT,entry.getActionComponent()));
    }
  }
;
  actionMethodColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      if (logEntry == null) {
        return null;
      }
      return StringUtils.getPrettifiedActionMethod(logEntry.getActionMethod());
    }
  }
;
  usernameColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      return logEntry != null ? logEntry.getUsername() : null;
    }
  }
;
  durationColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      return logEntry != null ? Humanize.durationMillisToShortDHMS(logEntry.getDuration()) : null;
    }
  }
;
  addressColumn=new TextColumn<LogEntry>(){
    @Override public String getValue(    LogEntry logEntry){
      return logEntry != null ? logEntry.getAddress() : null;
    }
  }
;
  stateColumn=new Column<LogEntry,SafeHtml>(new SafeHtmlCell()){
    @Override public SafeHtml getValue(    LogEntry logEntry){
      return HtmlSnippetUtils.getLogEntryStateHtml(logEntry.getState());
    }
  }
;
  dateColumn.setSortable(true);
  actionComponentColumn.setSortable(true);
  actionMethodColumn.setSortable(true);
  usernameColumn.setSortable(true);
  durationColumn.setSortable(true);
  addressColumn.setSortable(true);
  stateColumn.setSortable(true);
  addColumn(dateColumn,messages.logEntryDatetimeExtended(),true,false,14);
  addColumn(actionComponentColumn,messages.logEntryComponent(),true,false);
  addColumn(actionMethodColumn,messages.logEntryMethod(),true,false);
  addColumn(usernameColumn,messages.logEntryUser(),true,false);
  addColumn(durationColumn,messages.logEntryDuration(),true,true,5);
  addColumn(addressColumn,messages.logEntryAddress(),true,false);
  addColumn(stateColumn,messages.logEntryState(),true,false);
  display.getColumnSortList().push(new ColumnSortInfo(dateColumn,false));
  addStyleName("String_Node_Str");
}