Program: 66109
Project: 66109
Buggy source:
public void widgetSelected(SelectionEvent e){
  if (e.getSource().equals(cmbUnits)) {
    getChart().setUnits(LiteralHelper.unitsOfMeasurementSet.getNameByDisplayName(cmbUnits.getText()));
    if (cmbUnits.getSelectionIndex() != 0 && !btnSeriesThickness.getSelection()) {
      txtSeriesThickness.setValue(recalculateUnitDependentValues(txtSeriesThickness.getValue()));
    }
    lblSeriesThickness.setText(new MessageFormat(Messages.getString("String_Node_Str")).format(new Object[]{LiteralHelper.unitsOfMeasurementSet.getDisplayNameByName(getChart().getUnits())}));
    sOldUnits=getChart().getUnits();
  }
 else   if (e.getSource().equals(iscColumnCount)) {
    getChart().setGridColumnCount(iscColumnCount.getSelection());
  }
 else   if (e.getSource().equals(txtUnitSpacing)) {
    ((ChartWithAxes)getChart()).setUnitSpacing(txtUnitSpacing.getSelection());
  }
 else   if (e.widget == btnSeriesThickness) {
    if (btnSeriesThickness.getSelection()) {
      getChart().unsetSeriesThickness();
    }
 else {
      updateToSeriesThickness();
    }
    txtSeriesThickness.setEnabled(!btnSeriesThickness.getSelection());
  }
 else   if (e.widget == btnColumnCount) {
    if (btnColumnCount.getSelection()) {
      getChart().unsetGridColumnCount();
    }
 else {
      getChart().setGridColumnCount(iscColumnCount.getSelection());
    }
    iscColumnCount.setEnabled(!btnColumnCount.getSelection());
  }
 else   if (e.widget == btnUnitSpacing) {
    if (btnUnitSpacing.getSelection()) {
      ((ChartWithAxes)getChart()).unsetUnitSpacing();
    }
 else {
      ((ChartWithAxes)getChart()).setUnitSpacing(txtUnitSpacing.getSelection());
    }
    txtUnitSpacing.setEnabled(!btnUnitSpacing.getSelection());
  }
}

Fixed version (ground truth):
public void widgetSelected(SelectionEvent e){
  if (e.getSource().equals(cmbUnits)) {
    getChart().setUnits(LiteralHelper.unitsOfMeasurementSet.getNameByDisplayName(cmbUnits.getText()));
    if (cmbUnits.getSelectionIndex() != 0 && !btnSeriesThickness.getSelection()) {
      txtSeriesThickness.setValue(recalculateUnitDependentValues(txtSeriesThickness.getValue()));
    }
    lblSeriesThickness.setText(new MessageFormat(Messages.getString("String_Node_Str")).format(new Object[]{LiteralHelper.unitsOfMeasurementSet.getDisplayNameByName(getUnits())}));
    sOldUnits=getUnits();
  }
 else   if (e.getSource().equals(iscColumnCount)) {
    getChart().setGridColumnCount(iscColumnCount.getSelection());
  }
 else   if (e.getSource().equals(txtUnitSpacing)) {
    ((ChartWithAxes)getChart()).setUnitSpacing(txtUnitSpacing.getSelection());
  }
 else   if (e.widget == btnSeriesThickness) {
    if (btnSeriesThickness.getSelection()) {
      getChart().unsetSeriesThickness();
    }
 else {
      updateToSeriesThickness();
    }
    txtSeriesThickness.setEnabled(!btnSeriesThickness.getSelection());
  }
 else   if (e.widget == btnColumnCount) {
    if (btnColumnCount.getSelection()) {
      getChart().unsetGridColumnCount();
    }
 else {
      getChart().setGridColumnCount(iscColumnCount.getSelection());
    }
    iscColumnCount.setEnabled(!btnColumnCount.getSelection());
  }
 else   if (e.widget == btnUnitSpacing) {
    if (btnUnitSpacing.getSelection()) {
      ((ChartWithAxes)getChart()).unsetUnitSpacing();
    }
 else {
      ((ChartWithAxes)getChart()).setUnitSpacing(txtUnitSpacing.getSelection());
    }
    txtUnitSpacing.setEnabled(!btnUnitSpacing.getSelection());
  }
}