Program: 107813
Project: 107813
Buggy source:
@Override protected Control createControl(Composite parent){
  this.root=new Composite(parent,SWT.NONE);
  this.root.setLayout(new FillLayout());
  this.sash=new SashForm(this.root,SWT.VERTICAL);
  Composite upper=new Composite(sash,SWT.NONE);
  upper.setLayout(SWTUtil.createGridLayout(1));
  ComponentTitledSeparator separator1=new ComponentTitledSeparator(upper,SWT.NONE);
  separator1.setLayoutData(SWTUtil.createFillHorizontallyGridData());
  separator1.setText(Resources.getMessage("String_Node_Str"));
  this.table=SWTUtil.createTableDynamic(upper,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.FULL_SELECTION);
  this.table.setHeaderVisible(true);
  this.table.setLinesVisible(true);
  this.table.setMenu(new ClipboardHandlerTable(table).getMenu());
  this.table.setLayoutData(SWTUtil.createFillGridData());
  List<String> columns=getColumns();
  int perc=(int)Math.floor(100d / (double)columns.size());
  for (  String column : columns) {
    DynamicTableColumn c=new DynamicTableColumn(this.table,SWT.LEFT);
    c.setWidth(perc + "String_Node_Str","String_Node_Str");
    c.setText(column);
    SWTUtil.createColumnWithBarCharts(table,c);
  }
  for (  final TableColumn col : table.getColumns()) {
    col.pack();
  }
  SWTUtil.createGenericTooltip(table);
  if (getTarget() == ModelPart.OUTPUT) {
    Composite lower=new Composite(sash,SWT.NONE);
    lower.setLayout(SWTUtil.createGridLayout(1));
    ComponentTitledSeparator separator2=new ComponentTitledSeparator(lower,SWT.NONE);
    separator2.setLayoutData(SWTUtil.createFillHorizontallyGridData());
    separator2.setText(Resources.getMessage("String_Node_Str"));
    this.table2=SWTUtil.createTableDynamic(lower,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.FULL_SELECTION);
    this.table2.setHeaderVisible(true);
    this.table2.setLinesVisible(true);
    this.table2.setMenu(new ClipboardHandlerTable(table).getMenu());
    this.table2.setLayoutData(SWTUtil.createFillGridData());
    List<String> columns2=getColumns2();
    int perc2=(int)Math.floor(100d / (double)columns2.size());
    for (    String column : columns2) {
      DynamicTableColumn c=new DynamicTableColumn(this.table2,SWT.LEFT);
      c.setWidth(perc2 + "String_Node_Str","String_Node_Str");
      c.setText(column);
      SWTUtil.createColumnWithBarCharts(table2,c);
    }
    for (    final TableColumn col : table2.getColumns()) {
      col.pack();
    }
    SWTUtil.createGenericTooltip(table);
  }
  if (getTarget() == ModelPart.OUTPUT) {
    sash.setWeights(new int[]{2,1});
  }
 else {
    sash.setWeights(new int[]{2});
  }
  this.root.layout();
  this.root.pack();
  return this.root;
}

Fixed version (ground truth):
@Override protected Control createControl(Composite parent){
  this.root=new Composite(parent,SWT.NONE);
  this.root.setLayout(new FillLayout());
  this.sash=new SashForm(this.root,SWT.VERTICAL);
  Composite upper=new Composite(sash,SWT.NONE);
  upper.setLayout(SWTUtil.createGridLayout(1));
  ComponentTitledSeparator separator1=new ComponentTitledSeparator(upper,SWT.NONE);
  separator1.setLayoutData(SWTUtil.createFillHorizontallyGridData());
  separator1.setText(Resources.getMessage("String_Node_Str"));
  this.table=SWTUtil.createTableDynamic(upper,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.FULL_SELECTION);
  this.table.setHeaderVisible(true);
  this.table.setLinesVisible(true);
  this.table.setMenu(new ClipboardHandlerTable(table).getMenu());
  this.table.setLayoutData(SWTUtil.createFillGridData());
  List<String> columns=getColumns();
  int perc=(int)Math.floor(100d / (double)columns.size());
  for (  String column : columns) {
    DynamicTableColumn c=new DynamicTableColumn(this.table,SWT.LEFT);
    c.setWidth(perc + "String_Node_Str","String_Node_Str");
    c.setText(column);
    SWTUtil.createColumnWithBarCharts(table,c);
  }
  for (  final TableColumn col : table.getColumns()) {
    col.pack();
  }
  SWTUtil.createGenericTooltip(table);
  if (getTarget() == ModelPart.OUTPUT) {
    Composite lower=new Composite(sash,SWT.NONE);
    lower.setLayout(SWTUtil.createGridLayout(1));
    ComponentTitledSeparator separator2=new ComponentTitledSeparator(lower,SWT.NONE);
    separator2.setLayoutData(SWTUtil.createFillHorizontallyGridData());
    separator2.setText(Resources.getMessage("String_Node_Str"));
    this.table2=SWTUtil.createTableDynamic(lower,SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL| SWT.FULL_SELECTION);
    this.table2.setHeaderVisible(true);
    this.table2.setLinesVisible(true);
    this.table2.setMenu(new ClipboardHandlerTable(table2).getMenu());
    this.table2.setLayoutData(SWTUtil.createFillGridData());
    List<String> columns2=getColumns2();
    int perc2=(int)Math.floor(100d / (double)columns2.size());
    for (    String column : columns2) {
      DynamicTableColumn c=new DynamicTableColumn(this.table2,SWT.LEFT);
      c.setWidth(perc2 + "String_Node_Str","String_Node_Str");
      c.setText(column);
      SWTUtil.createColumnWithBarCharts(table2,c);
    }
    for (    final TableColumn col : table2.getColumns()) {
      col.pack();
    }
    SWTUtil.createGenericTooltip(table);
  }
  if (getTarget() == ModelPart.OUTPUT) {
    sash.setWeights(new int[]{2,1});
  }
 else {
    sash.setWeights(new int[]{2});
  }
  this.root.layout();
  this.root.pack();
  return this.root;
}