Program: 107843
Project: 107843
Buggy source:
@Override public void onFinish(){
  if (stopped || !isEnabled()) {
    return;
  }
  table.setRedraw(false);
  for (  final TableItem i : table.getItems()) {
    i.dispose();
  }
  for (  String attribute : quality.getAttributes()) {
    createItem(attribute,quality);
  }
  table.setRedraw(true);
  table.layout();
  if (table2 != null) {
    table2.setRedraw(false);
    for (    final TableItem i : table2.getItems()) {
      i.dispose();
    }
    TableItem item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getGeneralizationIntensity().getArithmeticMean(false));
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getGranularity().getArithmeticMean(false));
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getGranularity().getArithmeticMean(false));
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getDiscernibility().getValue());
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getAverageClassSize().getValue());
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getKullbackLeiblerDivergence().getValue());
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getSumOfSquaredErrors().getValue());
    table2.setRedraw(true);
    table2.layout();
  }
  setStatusDone();
}

Fixed version (ground truth):
@Override public void onFinish(){
  if (stopped || !isEnabled()) {
    return;
  }
  table.setRedraw(false);
  for (  final TableItem i : table.getItems()) {
    i.dispose();
  }
  for (  String attribute : quality.getAttributes()) {
    createItem(attribute,quality);
  }
  table.setRedraw(true);
  table.layout();
  if (table2 != null) {
    table2.setRedraw(false);
    for (    final TableItem i : table2.getItems()) {
      i.dispose();
    }
    TableItem item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getGeneralizationIntensity().getArithmeticMean(false));
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getGranularity().getArithmeticMean(false));
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getNonUniformEntropy().getArithmeticMean(false));
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getDiscernibility().getValue());
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getAverageClassSize().getValue());
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getKullbackLeiblerDivergence().getValue());
    item=new TableItem(table2,SWT.NONE);
    item.setText(0,"String_Node_Str");
    setNumericValueAtIndex(item,1,quality.getSumOfSquaredErrors().getValue());
    table2.setRedraw(true);
    table2.layout();
  }
  setStatusDone();
}