Program: 188651
Project: 188651
Buggy source:
/** 
 * Create a new panel to view a log entry
 */
public ShowLogEntry(LogEntry logEntry){
  initWidget(uiBinder.createAndBindUi(this));
  logId.setText(logEntry.getId());
  logComponent.setText(logEntry.getActionComponent());
  logMethod.setText(logEntry.getActionMethod());
  logAddress.setText(logEntry.getAddress());
  logDatetime.setText(DateTimeFormat.getFormat(PredefinedFormat.DATE_TIME_FULL).format(logEntry.getDatetime()));
  logRelatedObjectLabel.setVisible(logEntry.getRelatedObjectID() != null && !logEntry.getRelatedObjectID().isEmpty());
  logRelatedObject.setText(logEntry.getRelatedObjectID());
  logUsername.setText(logEntry.getUsername());
  List<LogEntryParameter> parameters=logEntry.getParameters();
  logParametersLabel.setVisible(parameters != null && !parameters.isEmpty());
  if (parameters != null) {
    for (    LogEntryParameter par : parameters) {
      HTML parPanel=new HTML();
      parPanel.setHTML(messages.logParameter(par.getName(),par.getValue()));
      logParameters.add(parPanel);
    }
  }
}

Fixed version (ground truth):
/** 
 * Create a new panel to view a log entry
 */
public ShowLogEntry(LogEntry logEntry){
  initWidget(uiBinder.createAndBindUi(this));
  logIdValue.setText(logEntry.getId());
  logIdLabel.setVisible(StringUtils.isNotBlank(logEntry.getId()));
  logIdValue.setVisible(StringUtils.isNotBlank(logEntry.getId()));
  logComponentValue.setText(logEntry.getActionComponent());
  logComponentLabel.setVisible(StringUtils.isNotBlank(logEntry.getActionComponent()));
  logComponentValue.setVisible(StringUtils.isNotBlank(logEntry.getActionComponent()));
  logMethodValue.setText(logEntry.getActionMethod());
  logMethodLabel.setVisible(StringUtils.isNotBlank(logEntry.getActionMethod()));
  logMethodValue.setVisible(StringUtils.isNotBlank(logEntry.getActionMethod()));
  logAddressValue.setText(logEntry.getAddress());
  logAddressLabel.setVisible(StringUtils.isNotBlank(logEntry.getAddress()));
  logAddressValue.setVisible(StringUtils.isNotBlank(logEntry.getAddress()));
  logDatetimeValue.setText(DateTimeFormat.getFormat(PredefinedFormat.DATE_TIME_FULL).format(logEntry.getDatetime()));
  logDatetimeLabel.setVisible(logEntry.getDatetime() != null);
  logDatetimeValue.setVisible(logEntry.getDatetime() != null);
  logRelatedObjectValue.setText(logEntry.getRelatedObjectID());
  logRelatedObjectLabel.setVisible(StringUtils.isNotBlank(logEntry.getRelatedObjectID()));
  logRelatedObjectValue.setVisible(StringUtils.isNotBlank(logEntry.getRelatedObjectID()));
  logUsernameValue.setText(logEntry.getUsername());
  logUsernameLabel.setVisible(StringUtils.isNotBlank(logEntry.getUsername()));
  logUsernameValue.setVisible(StringUtils.isNotBlank(logEntry.getUsername()));
  List<LogEntryParameter> parameters=logEntry.getParameters();
  if (parameters != null && parameters.size() > 0) {
    for (    LogEntryParameter par : parameters) {
      HTML parPanel=new HTML();
      parPanel.setHTML(messages.logParameter(par.getName(),par.getValue()));
      logParametersValue.add(parPanel);
    }
    logParametersLabel.setVisible(true);
    logParametersValue.setVisible(true);
  }
 else {
    logParametersLabel.setVisible(false);
    logParametersValue.setVisible(false);
  }
}