Program: 68155
Project: 68155
Buggy source:
public void createControl(Composite parent){
  getDataSheet().setChartModel(getChartModel());
  getDataSheet().addListener(this);
  if (topControl == null || topControl.isDisposed()) {
    topControl=new Composite(parent,SWT.NONE);
    GridLayout gridLayout=new GridLayout(3,false);
    gridLayout.marginWidth=0;
    gridLayout.marginHeight=0;
    topControl.setLayout(gridLayout);
    topControl.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL));
    dynamicArea=createDataComponentsUI();
    getCustomizeUI().init();
    foSashForm=new SashForm(topControl,SWT.VERTICAL);
{
      GridLayout layout=new GridLayout();
      foSashForm.setLayout(layout);
      GridData gridData=new GridData(GridData.FILL_BOTH);
      gridData.widthHint=800;
      foSashForm.setLayoutData(gridData);
    }
    foSashForm.addListener(SWT.Resize,this);
    placeComponents();
    previewPainter=createPreviewPainter();
  }
 else {
    customizeUI();
  }
  resize();
  if (getChartModel() instanceof ChartWithAxes) {
    checkDataTypeForChartWithAxes();
  }
  doPreview();
  DataDefinitionTextManager.getInstance().refreshAll();
  DataDefinitionTextManager.getInstance().setContext((IChartWizardContext)getContext());
  ChartUIUtil.checkGroupType((ChartWizardContext)getContext(),getChartModel());
  ChartUIUtil.checkAggregateType((ChartWizardContext)getContext());
  bindHelp();
}

Fixed version (ground truth):
public void createControl(Composite parent){
  getDataSheet().setChartModel(getChartModel());
  getDataSheet().addListener(this);
  if (topControl == null || topControl.isDisposed()) {
    topControl=new Composite(parent,SWT.NONE);
    GridLayout gridLayout=new GridLayout(3,false);
    gridLayout.marginWidth=0;
    gridLayout.marginHeight=0;
    topControl.setLayout(gridLayout);
    topControl.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL));
    dynamicArea=createDataComponentsUI();
    getCustomizeUI().init();
    ScrolledComposite sc=new ScrolledComposite(topControl,SWT.H_SCROLL);
{
      GridLayout layout=new GridLayout();
      sc.setLayout(layout);
      GridData gridData=new GridData(GridData.FILL_BOTH);
      sc.setLayoutData(gridData);
      sc.setExpandHorizontal(true);
      sc.setExpandVertical(true);
    }
    Composite cmp=new Composite(sc,SWT.None);
    cmp.setLayout(new GridLayout());
    cmp.setLayoutData(new GridData(GridData.FILL_BOTH));
    sc.setContent(cmp);
    sc.setMinWidth(800);
    foSashForm=new SashForm(cmp,SWT.VERTICAL);
{
      GridLayout layout=new GridLayout();
      foSashForm.setLayout(layout);
      GridData gridData=new GridData(GridData.FILL_BOTH);
      gridData.widthHint=800;
      foSashForm.setLayoutData(gridData);
    }
    foSashForm.addListener(SWT.Resize,this);
    placeComponents();
    previewPainter=createPreviewPainter();
  }
 else {
    customizeUI();
  }
  resize();
  if (getChartModel() instanceof ChartWithAxes) {
    checkDataTypeForChartWithAxes();
  }
  doPreview();
  DataDefinitionTextManager.getInstance().refreshAll();
  DataDefinitionTextManager.getInstance().setContext((IChartWizardContext)getContext());
  ChartUIUtil.checkGroupType((ChartWizardContext)getContext(),getChartModel());
  ChartUIUtil.checkAggregateType((ChartWizardContext)getContext());
  bindHelp();
}