Program: 67441
Project: 67441
Buggy source:
private void placeComponents(){
  boolean show_web_attributes=false;
  RadarSeries rsd=(RadarSeries)chart.getSeriesDefinitions().get(0).getSeriesDefinitions().get(0).getDesignTimeSeries();
  if (rsd.equals(this.series)) {
    show_web_attributes=true;
  }
  this.setLayout(new GridLayout());
  if (show_web_attributes) {
    grpLine=new Group(this,SWT.NONE);
    GridLayout glLine=new GridLayout(3,false);
    grpLine.setLayout(glLine);
    grpLine.setLayoutData(new GridData(GridData.FILL_BOTH));
    grpLine.setText(Messages.getString("String_Node_Str"));
    wliacLine=new LineAttributesComposite(grpLine,SWT.NONE,context,series.getWebLineAttributes(),true,true,true);
    GridData wgdLIACLine=new GridData();
    wgdLIACLine.widthHint=200;
    wgdLIACLine.verticalSpan=3;
    wliacLine.setLayoutData(wgdLIACLine);
    wliacLine.addListener(this);
    lblWebStep=new Label(grpLine,SWT.NONE);
{
      lblWebStep.setText(Messages.getString("String_Node_Str"));
      lblWebStep.setToolTipText(Messages.getString("String_Node_Str"));
    }
    iscScaleCnt=new Spinner(grpLine,SWT.BORDER);
    GridData gdISCLeaderLength=new GridData();
    gdISCLeaderLength.widthHint=100;
    iscScaleCnt.setLayoutData(gdISCLeaderLength);
    iscScaleCnt.setMinimum(1);
    iscScaleCnt.setMaximum(MAX_STEPS);
    iscScaleCnt.setSelection(series.getPlotSteps().intValue());
    iscScaleCnt.addSelectionListener(this);
    btnWebLabels=new Button(grpLine,SWT.CHECK);
{
      btnWebLabels.setText(Messages.getString("String_Node_Str"));
      btnWebLabels.setSelection(series.isShowWebLabels());
      btnWebLabels.addSelectionListener(this);
      GridData gd=new GridData(GridData.FILL_HORIZONTAL);
      gd.horizontalSpan=2;
      btnWebLabels.setLayoutData(gd);
    }
    btnTranslucentBullseye=new Button(grpLine,SWT.CHECK);
{
      btnTranslucentBullseye.setText(Messages.getString("String_Node_Str"));
      btnTranslucentBullseye.setSelection(series.isBackgroundOvalTransparent());
      btnTranslucentBullseye.addSelectionListener(this);
      GridData gd=new GridData(GridData.FILL_HORIZONTAL);
      gd.horizontalSpan=2;
      gd.verticalAlignment=SWT.TOP;
      btnTranslucentBullseye.setLayoutData(gd);
      btnTranslucentBullseye.setVisible(chart.getSubType().equals(Radar.BULLSEYE_SUBTYPE_LITERAL));
    }
  }
  grpLine2=new Group(this,SWT.NONE);
  GridLayout glLine2=new GridLayout(2,false);
  glLine2.horizontalSpacing=0;
  grpLine2.setLayout(glLine2);
  grpLine2.setLayoutData(new GridData(GridData.FILL_BOTH));
  grpLine2.setText(Messages.getString("String_Node_Str"));
  liacLine=new LineAttributesComposite(grpLine2,SWT.NONE,context,series.getLineAttributes(),true,true,true);
  GridData gdLIACLine=new GridData();
  gdLIACLine.verticalSpan=4;
  gdLIACLine.widthHint=200;
  liacLine.setLayoutData(gdLIACLine);
  liacLine.addListener(this);
  Composite cmp=new Composite(grpLine2,SWT.NONE);
  cmp.setLayoutData(new GridData(GridData.FILL_BOTH));
  cmp.setLayout(new GridLayout());
  btnPalette=new Button(cmp,SWT.CHECK);
{
    btnPalette.setText(Messages.getString("String_Node_Str"));
    btnPalette.setSelection(series.isPaletteLineColor());
    btnPalette.addSelectionListener(this);
  }
  btnConnectEndPoints=new Button(cmp,SWT.CHECK);
{
    btnConnectEndPoints.setText(Messages.getString("String_Node_Str"));
    btnConnectEndPoints.setSelection(series.isConnectEndpoints());
    btnConnectEndPoints.addSelectionListener(this);
  }
  btnFillPoly=new Button(cmp,SWT.CHECK);
{
    btnFillPoly.setText(Messages.getString("String_Node_Str"));
    btnFillPoly.setSelection(series.isFillPolys());
    btnFillPoly.addSelectionListener(this);
    btnFillPoly.setEnabled(btnConnectEndPoints.getSelection());
  }
  Group grpMarker=new Group(cmp,SWT.NONE);
  grpMarker.setText(Messages.getString("String_Node_Str"));
  grpMarker.setLayout(new GridLayout(2,false));
  Label lblMarker=new Label(grpMarker,SWT.NONE);
  lblMarker.setText(Messages.getString("String_Node_Str"));
  mec=new MarkerEditorComposite(grpMarker,series.getMarker());
  enableLineSettings(series.getWebLineAttributes().isVisible());
  enableLineSettings(series.getLineAttributes().isVisible());
}

Fixed version (ground truth):
private void placeComponents(){
  boolean show_web_attributes=false;
  RadarSeries rsd=(RadarSeries)chart.getSeriesDefinitions().get(0).getSeriesDefinitions().get(0).getDesignTimeSeries();
  if (rsd.equals(this.series)) {
    show_web_attributes=true;
  }
  this.setLayout(new GridLayout());
  if (show_web_attributes) {
    grpLine=new Group(this,SWT.NONE);
    GridLayout glLine=new GridLayout(3,false);
    grpLine.setLayout(glLine);
    grpLine.setLayoutData(new GridData(GridData.FILL_BOTH));
    grpLine.setText(Messages.getString("String_Node_Str"));
    wliacLine=new LineAttributesComposite(grpLine,SWT.NONE,context,series.getWebLineAttributes(),true,true,true,true,true);
    GridData wgdLIACLine=new GridData();
    wgdLIACLine.widthHint=200;
    wgdLIACLine.verticalSpan=3;
    wliacLine.setLayoutData(wgdLIACLine);
    wliacLine.addListener(this);
    lblWebStep=new Label(grpLine,SWT.NONE);
{
      lblWebStep.setText(Messages.getString("String_Node_Str"));
      lblWebStep.setToolTipText(Messages.getString("String_Node_Str"));
    }
    iscScaleCnt=new Spinner(grpLine,SWT.BORDER);
    GridData gdISCLeaderLength=new GridData();
    gdISCLeaderLength.widthHint=100;
    iscScaleCnt.setLayoutData(gdISCLeaderLength);
    iscScaleCnt.setMinimum(1);
    iscScaleCnt.setMaximum(MAX_STEPS);
    iscScaleCnt.setSelection(series.getPlotSteps().intValue());
    iscScaleCnt.addSelectionListener(this);
    btnWebLabels=new Button(grpLine,SWT.CHECK);
{
      btnWebLabels.setText(Messages.getString("String_Node_Str"));
      btnWebLabels.setSelection(series.isShowWebLabels());
      btnWebLabels.addSelectionListener(this);
      GridData gd=new GridData(GridData.FILL_HORIZONTAL);
      gd.horizontalSpan=2;
      btnWebLabels.setLayoutData(gd);
    }
    btnTranslucentBullseye=new Button(grpLine,SWT.CHECK);
{
      btnTranslucentBullseye.setText(Messages.getString("String_Node_Str"));
      btnTranslucentBullseye.setSelection(series.isBackgroundOvalTransparent());
      btnTranslucentBullseye.addSelectionListener(this);
      GridData gd=new GridData(GridData.FILL_HORIZONTAL);
      gd.horizontalSpan=2;
      gd.verticalAlignment=SWT.TOP;
      btnTranslucentBullseye.setLayoutData(gd);
      btnTranslucentBullseye.setVisible(chart.getSubType().equals(Radar.BULLSEYE_SUBTYPE_LITERAL));
    }
  }
  grpLine2=new Group(this,SWT.NONE);
  GridLayout glLine2=new GridLayout(2,false);
  glLine2.horizontalSpacing=0;
  grpLine2.setLayout(glLine2);
  grpLine2.setLayoutData(new GridData(GridData.FILL_BOTH));
  grpLine2.setText(Messages.getString("String_Node_Str"));
  liacLine=new LineAttributesComposite(grpLine2,SWT.NONE,context,series.getLineAttributes(),true,true,true,true,true);
  GridData gdLIACLine=new GridData();
  gdLIACLine.verticalSpan=4;
  gdLIACLine.widthHint=200;
  liacLine.setLayoutData(gdLIACLine);
  liacLine.addListener(this);
  Composite cmp=new Composite(grpLine2,SWT.NONE);
  cmp.setLayoutData(new GridData(GridData.FILL_BOTH));
  cmp.setLayout(new GridLayout());
  btnPalette=new Button(cmp,SWT.CHECK);
{
    btnPalette.setText(Messages.getString("String_Node_Str"));
    btnPalette.setSelection(series.isPaletteLineColor());
    btnPalette.addSelectionListener(this);
  }
  btnConnectEndPoints=new Button(cmp,SWT.CHECK);
{
    btnConnectEndPoints.setText(Messages.getString("String_Node_Str"));
    btnConnectEndPoints.setSelection(series.isConnectEndpoints());
    btnConnectEndPoints.addSelectionListener(this);
  }
  btnFillPoly=new Button(cmp,SWT.CHECK);
{
    btnFillPoly.setText(Messages.getString("String_Node_Str"));
    btnFillPoly.setSelection(series.isFillPolys());
    btnFillPoly.addSelectionListener(this);
    btnFillPoly.setEnabled(btnConnectEndPoints.getSelection());
  }
  Group grpMarker=new Group(cmp,SWT.NONE);
  grpMarker.setText(Messages.getString("String_Node_Str"));
  grpMarker.setLayout(new GridLayout(2,false));
  Label lblMarker=new Label(grpMarker,SWT.NONE);
  lblMarker.setText(Messages.getString("String_Node_Str"));
  mec=new MarkerEditorComposite(grpMarker,series.getMarker());
  enableLineSettings(series.getWebLineAttributes().isVisible());
  enableLineSettings(series.getLineAttributes().isVisible());
}