Program: 139992
Project: 139992
Buggy source:
public void createPreviewCharts(final ScrolledForm form,final Composite composite,final boolean isCreate){
  List<Composite> previewChartList=new ArrayList<Composite>();
  List<Column> numericOrDateList=new ArrayList<Column>();
  if (columnSetMultiIndicator instanceof CountAvgNullIndicator) {
    numericOrDateList=columnSetMultiIndicator.getNumericColumns();
  }
 else {
    numericOrDateList=columnSetMultiIndicator.getDateColumns();
  }
  for (  Column column : numericOrDateList) {
    final TdColumn tdColumn=(TdColumn)column;
    ExpandableComposite exComp=toolkit.createExpandableComposite(composite,ExpandableComposite.TREE_NODE | ExpandableComposite.CLIENT_INDENT);
    exComp.setText(DefaultMessagesImpl.getString("String_Node_Str") + tdColumn.getName());
    exComp.setLayout(new GridLayout());
    exComp.setData(columnSetMultiIndicator);
    previewChartList.add(exComp);
    final Composite comp=toolkit.createComposite(exComp);
    comp.setLayout(new GridLayout());
    comp.setLayoutData(new GridData(GridData.FILL_BOTH));
    if (tdColumn != null) {
      IRunnableWithProgress rwp=new IRunnableWithProgress(){
        public void run(        final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
          monitor.beginTask(DefaultMessagesImpl.getString("String_Node_Str") + tdColumn.getName(),IProgressMonitor.UNKNOWN);
          Display.getDefault().asyncExec(new Runnable(){
            public void run(){
              HideSeriesPanel hideSeriesPanel=new HideSeriesPanel(columnSetMultiIndicator,tdColumn);
              if (hideSeriesPanel != null) {
                Composite frameComp=toolkit.createComposite(comp,SWT.EMBEDDED);
                frameComp.setLayout(new GridLayout());
                GridData gd=new GridData();
                gd.heightHint=230;
                gd.widthHint=460;
                frameComp.setLayoutData(gd);
                Frame frame=SWT_AWT.new_Frame(frameComp);
                frame.setLayout(new java.awt.BorderLayout());
                frame.add(hideSeriesPanel);
                frame.validate();
              }
            }
          }
);
          monitor.done();
        }
      }
;
      try {
        new ProgressMonitorDialog(getSite().getShell()).run(true,false,rwp);
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
    }
    exComp.addExpansionListener(new ExpansionAdapter(){
      @Override public void expansionStateChanged(      ExpansionEvent e){
        getChartComposite().layout();
        form.reflow(true);
      }
    }
);
    exComp.setExpanded(true);
    exComp.setClient(comp);
  }
  if (!previewChartList.isEmpty()) {
    this.previewChartCompsites=previewChartList.toArray(new Composite[previewChartList.size()]);
  }
}

Fixed version (ground truth):
public void createPreviewCharts(final ScrolledForm form,final Composite composite,final boolean isCreate){
  List<Composite> previewChartList=new ArrayList<Composite>();
  List<Column> numericOrDateList=new ArrayList<Column>();
  if (columnSetMultiIndicator instanceof CountAvgNullIndicator) {
    numericOrDateList=columnSetMultiIndicator.getNumericColumns();
  }
 else {
    numericOrDateList=columnSetMultiIndicator.getDateColumns();
  }
  for (  Column column : numericOrDateList) {
    final TdColumn tdColumn=(TdColumn)column;
    ExpandableComposite exComp=toolkit.createExpandableComposite(composite,ExpandableComposite.TREE_NODE | ExpandableComposite.CLIENT_INDENT);
    exComp.setText(DefaultMessagesImpl.getString("String_Node_Str") + tdColumn.getName());
    exComp.setLayout(new GridLayout());
    exComp.setData(columnSetMultiIndicator);
    previewChartList.add(exComp);
    final Composite comp=toolkit.createComposite(exComp);
    comp.setLayout(new GridLayout());
    comp.setLayoutData(new GridData(GridData.FILL_BOTH));
    if (tdColumn != null) {
      IRunnableWithProgress rwp=new IRunnableWithProgress(){
        public void run(        final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
          monitor.beginTask(DefaultMessagesImpl.getString("String_Node_Str") + tdColumn.getName(),IProgressMonitor.UNKNOWN);
          Display.getDefault().asyncExec(new Runnable(){
            public void run(){
              HideSeriesChartComposite hcc=new HideSeriesChartComposite(comp,columnSetMultiIndicator,tdColumn,false);
              GridData gd=new GridData();
              gd.heightHint=230;
              gd.widthHint=460;
              hcc.setLayoutData(gd);
            }
          }
);
          monitor.done();
        }
      }
;
      try {
        new ProgressMonitorDialog(getSite().getShell()).run(true,false,rwp);
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
    }
    exComp.addExpansionListener(new ExpansionAdapter(){
      @Override public void expansionStateChanged(      ExpansionEvent e){
        getChartComposite().layout();
        form.reflow(true);
      }
    }
);
    exComp.setExpanded(true);
    exComp.setClient(comp);
  }
  if (!previewChartList.isEmpty()) {
    this.previewChartCompsites=previewChartList.toArray(new Composite[previewChartList.size()]);
  }
}