Program: 68129
Project: 68129
Buggy source:
protected Composite getComponent(Composite parent){
  ChartUIUtil.bindHelp(parent,ChartHelpContextIds.POPUP_TEXT_FORMAT);
  cmpContent=new Composite(parent,SWT.NONE);
{
    GridLayout glMain=new GridLayout();
    glMain.numColumns=2;
    glMain.marginHeight=7;
    glMain.marginWidth=7;
    cmpContent.setLayout(glMain);
  }
  if (axisType == AngleType.Z) {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isPositionEnabled=false;
    attributesContext.isVisibilityEnabled=false;
    lacTitle=new LabelAttributesComposite(cmpContent,SWT.NONE,getContext(),attributesContext,Messages.getString("String_Node_Str"),getAxisForProcessing().getTitlePosition(),getAxisForProcessing().getTitle(),getChart().getUnits());
  }
 else {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isVisibilityEnabled=false;
    lacTitle=new LabelAttributesComposite(cmpContent,SWT.NONE,getContext(),attributesContext,Messages.getString("String_Node_Str"),getAxisForProcessing().getTitlePosition(),getAxisForProcessing().getTitle(),getChart().getUnits(),getPositionScope());
  }
  GridData gdLACTitle=new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
  gdLACTitle.widthHint=200;
  lacTitle.setLayoutData(gdLACTitle);
  lacTitle.addListener(this);
  boolean isLabelEnabled=getAxisForProcessing().getLabel().isVisible();
  Group grpLabel=new Group(cmpContent,SWT.NONE);
{
    GridLayout layout=new GridLayout();
    layout.numColumns=2;
    layout.marginWidth=0;
    layout.marginHeight=0;
    grpLabel.setLayout(layout);
    grpLabel.setText(Messages.getString("String_Node_Str"));
    grpLabel.setEnabled(isLabelEnabled);
  }
  if (axisType == AngleType.Z) {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isPositionEnabled=false;
    attributesContext.isVisibilityEnabled=false;
    attributesContext.isFontEnabled=false;
    attributesContext.isFontAlignmentEnabled=false;
    lacLabel=new LabelAttributesComposite(grpLabel,SWT.NONE,getContext(),attributesContext,null,getAxisForProcessing().getLabelPosition(),getAxisForProcessing().getLabel(),getChart().getUnits());
  }
 else {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isVisibilityEnabled=false;
    attributesContext.isFontEnabled=false;
    attributesContext.isFontAlignmentEnabled=false;
    lacLabel=new LabelAttributesComposite(grpLabel,SWT.NONE,getContext(),attributesContext,null,getAxisForProcessing().getLabelPosition(),getAxisForProcessing().getLabel(),getChart().getUnits(),getPositionScope());
  }
  GridData gdLACLabel=new GridData(GridData.FILL_HORIZONTAL);
  gdLACLabel.horizontalSpan=2;
  lacLabel.setLayoutData(gdLACLabel);
  lacLabel.addListener(this);
  lacLabel.setEnabled(isLabelEnabled);
  Label lblInterval=new Label(grpLabel,SWT.NONE);
{
    GridData gd=new GridData();
    gd.horizontalIndent=10;
    lblInterval.setLayoutData(gd);
    lblInterval.setText(Messages.getString("String_Node_Str"));
    lblInterval.setEnabled(isLabelEnabled);
  }
  iscInterval=new Spinner(grpLabel,SWT.BORDER);
{
    iscInterval.setMinimum(1);
    iscInterval.setSelection(getAxisForProcessing().getInterval());
    GridData gd=new GridData();
    gd.widthHint=135;
    iscInterval.setLayoutData(gd);
    iscInterval.addSelectionListener(this);
    iscInterval.setEnabled(isLabelEnabled);
  }
  return cmpContent;
}

Fixed version (ground truth):
protected Composite getComponent(Composite parent){
  ChartUIUtil.bindHelp(parent,ChartHelpContextIds.POPUP_TEXT_FORMAT);
  cmpContent=new Composite(parent,SWT.NONE);
{
    GridLayout glMain=new GridLayout();
    glMain.numColumns=2;
    glMain.marginHeight=7;
    glMain.marginWidth=7;
    cmpContent.setLayout(glMain);
  }
  if (axisType == AngleType.Z) {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isPositionEnabled=false;
    attributesContext.isVisibilityEnabled=false;
    lacTitle=new LabelAttributesComposite(cmpContent,SWT.NONE,getContext(),attributesContext,Messages.getString("String_Node_Str"),getAxisForProcessing().getTitlePosition(),getAxisForProcessing().getTitle(),getChart().getUnits());
  }
 else {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isVisibilityEnabled=false;
    lacTitle=new LabelAttributesComposite(cmpContent,SWT.NONE,getContext(),attributesContext,Messages.getString("String_Node_Str"),getAxisForProcessing().getTitlePosition(),getAxisForProcessing().getTitle(),getChart().getUnits(),getPositionScope());
  }
  GridData gdLACTitle=new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_BEGINNING);
  lacTitle.setLayoutData(gdLACTitle);
  lacTitle.addListener(this);
  boolean isLabelEnabled=getAxisForProcessing().getLabel().isVisible();
  Group grpLabel=new Group(cmpContent,SWT.NONE);
{
    GridLayout layout=new GridLayout();
    layout.numColumns=2;
    layout.marginWidth=0;
    layout.marginHeight=0;
    grpLabel.setLayout(layout);
    grpLabel.setText(Messages.getString("String_Node_Str"));
    grpLabel.setEnabled(isLabelEnabled);
  }
  if (axisType == AngleType.Z) {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isPositionEnabled=false;
    attributesContext.isVisibilityEnabled=false;
    attributesContext.isFontEnabled=false;
    attributesContext.isFontAlignmentEnabled=false;
    lacLabel=new LabelAttributesComposite(grpLabel,SWT.NONE,getContext(),attributesContext,null,getAxisForProcessing().getLabelPosition(),getAxisForProcessing().getLabel(),getChart().getUnits());
  }
 else {
    LabelAttributesContext attributesContext=new LabelAttributesContext();
    attributesContext.isVisibilityEnabled=false;
    attributesContext.isFontEnabled=false;
    attributesContext.isFontAlignmentEnabled=false;
    lacLabel=new LabelAttributesComposite(grpLabel,SWT.NONE,getContext(),attributesContext,null,getAxisForProcessing().getLabelPosition(),getAxisForProcessing().getLabel(),getChart().getUnits(),getPositionScope());
  }
  GridData gdLACLabel=new GridData(GridData.FILL_HORIZONTAL);
  gdLACLabel.horizontalSpan=2;
  lacLabel.setLayoutData(gdLACLabel);
  lacLabel.addListener(this);
  lacLabel.setEnabled(isLabelEnabled);
  Label lblInterval=new Label(grpLabel,SWT.NONE);
{
    GridData gd=new GridData();
    gd.horizontalIndent=10;
    lblInterval.setLayoutData(gd);
    lblInterval.setText(Messages.getString("String_Node_Str"));
    lblInterval.setEnabled(isLabelEnabled);
  }
  iscInterval=new Spinner(grpLabel,SWT.BORDER);
{
    iscInterval.setMinimum(1);
    iscInterval.setSelection(getAxisForProcessing().getInterval());
    GridData gd=new GridData();
    gd.widthHint=135;
    iscInterval.setLayoutData(gd);
    iscInterval.addSelectionListener(this);
    iscInterval.setEnabled(isLabelEnabled);
  }
  return cmpContent;
}