Program: 69961
Project: 69961
Buggy source:
public void placeComponents(Composite parent){
  Series series=seriesDefn.getDesignTimeSeries();
  linkSeries=new Link(parent,SWT.NONE);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    linkSeries.setLayoutData(gd);
    linkSeries.setText("String_Node_Str" + seriesName + "String_Node_Str");
    linkSeries.addSelectionListener(this);
  }
  List<String> keys=null;
  if (getContext().getUIServiceProvider() != null) {
    keys=getContext().getUIServiceProvider().getRegisteredKeys();
  }
  txtTitle=new ExternalizedTextEditorComposite(parent,SWT.BORDER | SWT.SINGLE,-1,-1,keys,getContext().getUIServiceProvider(),series.getSeriesIdentifier().toString());
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    txtTitle.setLayoutData(gd);
    txtTitle.addListener(this);
  }
  cmbTypes=new Combo(parent,SWT.DROP_DOWN | SWT.READ_ONLY);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    cmbTypes.setLayoutData(gd);
    cmbTypes.addSelectionListener(this);
    if (iSeriesDefinitionIndex == 0) {
      cmbTypes.setEnabled(false);
    }
  }
  if (!series.getClass().isAssignableFrom(SeriesImpl.class)) {
    spnZOrder=new Spinner(parent,SWT.BORDER);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      spnZOrder.setLayoutData(gd);
      spnZOrder.setMinimum(0);
      spnZOrder.setMaximum(10);
      if (getChart() instanceof ChartWithAxes && !(getContext().getChartType() instanceof BubbleChart)) {
        spnZOrder.setSelection(seriesDefn.getZOrder());
        spnZOrder.addSelectionListener(this);
      }
 else {
        spnZOrder.setEnabled(false);
      }
    }
    btnVisible=new Button(parent,SWT.CHECK);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      btnVisible.setLayoutData(gd);
      btnVisible.setSelection(series.isVisible());
      btnVisible.addSelectionListener(this);
    }
    btnStack=new Button(parent,SWT.CHECK);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      btnStack.setLayoutData(gd);
      btnStack.setEnabled(canStack && series.canBeStacked() && getChart().getDimension().getValue() != ChartDimension.THREE_DIMENSIONAL);
      if (series.isStacked() && !canStack) {
        btnStack.setSelection(false);
        series.setStacked(false);
      }
 else {
        btnStack.setSelection(series.isStacked());
      }
      btnStack.addSelectionListener(this);
    }
    btnTranslucent=new Button(parent,SWT.CHECK);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      btnTranslucent.setLayoutData(gd);
      btnTranslucent.setSelection(series.isTranslucent());
      btnTranslucent.addSelectionListener(this);
    }
    setTypeComboState();
    setStackedBoxState();
  }
 else {
    Label dummy=new Label(parent,SWT.CHECK);
    GridData gd=new GridData();
    gd.horizontalSpan=4;
    dummy.setLayoutData(gd);
  }
  populateLists(seriesDefn.getDesignTimeSeries());
}

Fixed version (ground truth):
public void placeComponents(Composite parent){
  Series series=seriesDefn.getDesignTimeSeries();
  linkSeries=new Link(parent,SWT.NONE);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    linkSeries.setLayoutData(gd);
    linkSeries.setText("String_Node_Str" + seriesName + "String_Node_Str");
    linkSeries.addSelectionListener(this);
  }
  List<String> keys=null;
  if (getContext().getUIServiceProvider() != null) {
    keys=getContext().getUIServiceProvider().getRegisteredKeys();
  }
  txtTitle=new ExternalizedTextEditorComposite(parent,SWT.BORDER | SWT.SINGLE,-1,-1,keys,getContext().getUIServiceProvider(),series.getSeriesIdentifier().toString());
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    txtTitle.setLayoutData(gd);
    txtTitle.addListener(this);
  }
  cmbTypes=new Combo(parent,SWT.DROP_DOWN | SWT.READ_ONLY);
{
    GridData gd=new GridData(GridData.FILL_HORIZONTAL);
    cmbTypes.setLayoutData(gd);
    cmbTypes.addSelectionListener(this);
    if (iSeriesDefinitionIndex == 0) {
      cmbTypes.setEnabled(false);
    }
  }
  if (!series.getClass().isAssignableFrom(SeriesImpl.class)) {
    spnZOrder=new Spinner(parent,SWT.BORDER);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      spnZOrder.setLayoutData(gd);
      spnZOrder.setMinimum(0);
      spnZOrder.setMaximum(10);
      if (getChart() instanceof ChartWithAxes && !(getContext().getChartType() instanceof BubbleChart)) {
        spnZOrder.setSelection(seriesDefn.getZOrder());
        spnZOrder.addSelectionListener(this);
      }
 else {
        spnZOrder.setEnabled(false);
      }
    }
    btnVisible=new Button(parent,SWT.CHECK);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      btnVisible.setLayoutData(gd);
      btnVisible.setSelection(series.isVisible());
      btnVisible.addSelectionListener(this);
    }
    btnStack=new Button(parent,SWT.CHECK);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      btnStack.setLayoutData(gd);
      btnStack.setEnabled(canStack && series.canBeStacked() && getChart().getDimension().getValue() != ChartDimension.THREE_DIMENSIONAL && !bStackedPercent);
      if (series.isStacked() && !canStack) {
        btnStack.setSelection(false);
        series.setStacked(false);
      }
 else {
        btnStack.setSelection(series.isStacked());
      }
      btnStack.addSelectionListener(this);
    }
    btnTranslucent=new Button(parent,SWT.CHECK);
{
      GridData gd=new GridData();
      gd.horizontalAlignment=SWT.CENTER;
      btnTranslucent.setLayoutData(gd);
      btnTranslucent.setSelection(series.isTranslucent());
      btnTranslucent.addSelectionListener(this);
    }
    setTypeComboState();
    setStackedBoxState();
  }
 else {
    Label dummy=new Label(parent,SWT.CHECK);
    GridData gd=new GridData();
    gd.horizontalSpan=4;
    dummy.setLayoutData(gd);
  }
  populateLists(seriesDefn.getDesignTimeSeries());
}