Program: 102187
Project: 102187
Buggy source:
@Override protected void synchronizeExtendedUI(){
  generalPropertiesTab.setImage(RelationalUiUtil.getRelationalImage(TYPES.TABLE,getRelationalReference().getModelType(),Status.OK_STATUS));
  this.parametersViewer.getTable().removeAll();
  IStatus maxStatus=Status.OK_STATUS;
  for (  RelationalParameter row : getRelationalReference().getParameters()) {
    if (row.getStatus().getSeverity() > maxStatus.getSeverity()) {
      maxStatus=row.getStatus();
    }
    this.parametersViewer.add(row);
  }
  parametersTab.setImage(RelationalUiUtil.getRelationalImage(TYPES.PARAMETER,getRelationalReference().getModelType(),maxStatus));
  if (!this.getRelationalReference().isSourceFunction()) {
    if (this.getRelationalReference().getResultSet() == null) {
      if (WidgetUtil.widgetValueChanged(includeResultSetCB,false)) {
        this.includeResultSetCB.setSelection(false);
      }
      this.resultSetNameText.setEnabled(false);
      if (WidgetUtil.widgetValueChanged(resultSetNameText,EMPTY_STRING)) {
        this.resultSetNameText.setText(EMPTY_STRING);
      }
      this.columnsViewer.getTable().removeAll();
      this.columnsViewer.getTable().setEnabled(false);
      this.resultSetTab.setImage(UiPlugin.getDefault().getImage(UiConstants.Images.TABLE_ICON));
    }
 else {
      this.columnsViewer.getTable().setEnabled(true);
      if (WidgetUtil.widgetValueChanged(includeResultSetCB,true)) {
        this.includeResultSetCB.setSelection(true);
      }
      this.resultSetNameText.setEnabled(true);
      if (this.getRelationalReference().getResultSet().getName() != null && WidgetUtil.widgetValueChanged(resultSetNameText,this.getRelationalReference().getResultSet().getName())) {
        this.resultSetNameText.setText(this.getRelationalReference().getResultSet().getName());
      }
      this.columnsViewer.getTable().removeAll();
      if (!this.getRelationalReference().getResultSet().getColumns().isEmpty()) {
        for (        RelationalColumn column : this.getRelationalReference().getResultSet().getColumns()) {
          this.columnsViewer.add(column);
        }
      }
      resultSetTab.setImage(RelationalUiUtil.getRelationalImage(TYPES.TABLE,getRelationalReference().getResultSet().getModelType(),this.getRelationalReference().getResultSet().getStatus()));
    }
    if (this.getRelationalReference().isFunction()) {
      if (this.getRelationalReference().getUdfJarPath() != null) {
        this.udfJarPathText.setText(this.getRelationalReference().getUdfJarPath());
      }
    }
  }
}

Fixed version (ground truth):
@Override protected void synchronizeExtendedUI(){
  generalPropertiesTab.setImage(RelationalUiUtil.getRelationalImage(TYPES.TABLE,getRelationalReference().getModelType(),Status.OK_STATUS));
  this.parametersViewer.getTable().removeAll();
  IStatus maxStatus=Status.OK_STATUS;
  for (  RelationalParameter row : getRelationalReference().getParameters()) {
    if (row.getStatus().getSeverity() > maxStatus.getSeverity()) {
      maxStatus=row.getStatus();
    }
    this.parametersViewer.add(row);
  }
  parametersTab.setImage(RelationalUiUtil.getRelationalImage(TYPES.PARAMETER,getRelationalReference().getModelType(),maxStatus));
  if (!this.getRelationalReference().isSourceFunction()) {
    if (this.getRelationalReference().getResultSet() == null) {
      if (WidgetUtil.widgetValueChanged(includeResultSetCB,false)) {
        this.includeResultSetCB.setSelection(false);
        this.addColumnButton.setEnabled(false);
      }
      this.resultSetNameText.setEnabled(false);
      if (WidgetUtil.widgetValueChanged(resultSetNameText,EMPTY_STRING)) {
        this.resultSetNameText.setText(EMPTY_STRING);
      }
      this.columnsViewer.getTable().removeAll();
      this.columnsViewer.getTable().setEnabled(false);
      this.resultSetTab.setImage(UiPlugin.getDefault().getImage(UiConstants.Images.TABLE_ICON));
    }
 else {
      this.columnsViewer.getTable().setEnabled(true);
      if (WidgetUtil.widgetValueChanged(includeResultSetCB,true)) {
        this.includeResultSetCB.setSelection(true);
      }
      this.resultSetNameText.setEnabled(true);
      if (this.getRelationalReference().getResultSet().getName() != null && WidgetUtil.widgetValueChanged(resultSetNameText,this.getRelationalReference().getResultSet().getName())) {
        this.resultSetNameText.setText(this.getRelationalReference().getResultSet().getName());
      }
      this.columnsViewer.getTable().removeAll();
      if (!this.getRelationalReference().getResultSet().getColumns().isEmpty()) {
        for (        RelationalColumn column : this.getRelationalReference().getResultSet().getColumns()) {
          this.columnsViewer.add(column);
        }
      }
      resultSetTab.setImage(RelationalUiUtil.getRelationalImage(TYPES.TABLE,getRelationalReference().getResultSet().getModelType(),this.getRelationalReference().getResultSet().getStatus()));
    }
    if (this.getRelationalReference().isFunction()) {
      if (this.getRelationalReference().getUdfJarPath() != null) {
        this.udfJarPathText.setText(this.getRelationalReference().getUdfJarPath());
      }
    }
  }
}