Program: 140796
Project: 140796
Buggy source:
private void createPreviewCharts(final ScrolledForm form,final Composite composite,final boolean isCreate){
  for (  ModelElement modelElement : analysisHandler.getAnalyzedColumns()) {
    final TdColumn column=SwitchHelpers.COLUMN_SWITCH.doSwitch(modelElement);
    final Collection<Indicator> indicators=analysisHandler.getIndicatorLeaves(column);
    final ColumnIndicator columnIndicator=new ColumnIndicator(column);
    columnIndicator.setIndicators(indicators.toArray(new Indicator[indicators.size()]));
    ExpandableComposite exComp=toolkit.createExpandableComposite(composite,ExpandableComposite.TREE_NODE | ExpandableComposite.CLIENT_INDENT);
    exComp.setText("String_Node_Str" + column.getName());
    exComp.setLayout(new GridLayout());
    final Composite comp=toolkit.createComposite(exComp);
    comp.setLayout(new GridLayout());
    comp.setLayoutData(new GridData(GridData.FILL_BOTH));
    if (columnIndicator.getIndicators().length != 0) {
      IRunnableWithProgress rwp=new IRunnableWithProgress(){
        public void run(        IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
          monitor.beginTask("String_Node_Str" + column.getName(),IProgressMonitor.UNKNOWN);
          Display.getDefault().asyncExec(new Runnable(){
            public void run(){
              for (              ImageDescriptor descriptor : IndicatorChartFactory.createChart(columnIndicator,isCreate)) {
                ImageHyperlink image=toolkit.createImageHyperlink(comp,SWT.WRAP);
                image.setImage(descriptor.createImage());
              }
            }
          }
);
          monitor.done();
        }
      }
;
      try {
        new ProgressMonitorDialog(null).run(true,false,rwp);
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
      exComp.setExpanded(true);
    }
    exComp.setClient(comp);
    exComp.addExpansionListener(new ExpansionAdapter(){
      public void expansionStateChanged(      ExpansionEvent e){
        form.reflow(true);
      }
    }
);
  }
}

Fixed version (ground truth):
private void createPreviewCharts(final ScrolledForm form,final Composite composite,final boolean isCreate){
  for (  ModelElement modelElement : analysisHandler.getAnalyzedColumns()) {
    final TdColumn column=SwitchHelpers.COLUMN_SWITCH.doSwitch(modelElement);
    final Collection<Indicator> indicators=analysisHandler.getIndicators(column);
    final ColumnIndicator columnIndicator=new ColumnIndicator(column);
    columnIndicator.setIndicators(indicators.toArray(new Indicator[indicators.size()]));
    ExpandableComposite exComp=toolkit.createExpandableComposite(composite,ExpandableComposite.TREE_NODE | ExpandableComposite.CLIENT_INDENT);
    exComp.setText("String_Node_Str" + column.getName());
    exComp.setLayout(new GridLayout());
    final Composite comp=toolkit.createComposite(exComp);
    comp.setLayout(new GridLayout());
    comp.setLayoutData(new GridData(GridData.FILL_BOTH));
    if (columnIndicator.getIndicators().length != 0) {
      IRunnableWithProgress rwp=new IRunnableWithProgress(){
        public void run(        IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
          monitor.beginTask("String_Node_Str" + column.getName(),IProgressMonitor.UNKNOWN);
          Display.getDefault().asyncExec(new Runnable(){
            public void run(){
              for (              ImageDescriptor descriptor : IndicatorChartFactory.createChart(columnIndicator,isCreate)) {
                ImageHyperlink image=toolkit.createImageHyperlink(comp,SWT.WRAP);
                image.setImage(descriptor.createImage());
              }
            }
          }
);
          monitor.done();
        }
      }
;
      try {
        new ProgressMonitorDialog(null).run(true,false,rwp);
      }
 catch (      Exception ex) {
        ex.printStackTrace();
      }
      exComp.setExpanded(true);
    }
    exComp.setClient(comp);
    exComp.addExpansionListener(new ExpansionAdapter(){
      public void expansionStateChanged(      ExpansionEvent e){
        form.reflow(true);
      }
    }
);
  }
}