Program: 140574
Project: 140574
Buggy source:
public static void createTable(Composite parent,ChartWithData inputObject){
  TableViewer tbViewer=new TableViewer(parent,SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION);
  Table table=tbViewer.getTable();
  table.setHeaderVisible(true);
  table.setLinesVisible(true);
  table.setLayoutData(new GridData(GridData.FILL_BOTH));
  if (inputObject.getChartNamedType().equals(CompositeIndicator.SIMPLE_STATISTICS) || inputObject.getChartNamedType().equals(CompositeIndicator.TEXT_STATISTICS)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(150);
    TableColumn column3=new TableColumn(table,SWT.NONE);
    column3.setText("String_Node_Str");
    column3.setWidth(150);
    tbViewer.setLabelProvider(new SimpleLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else   if (inputObject.getChartNamedType().equals(CompositeIndicator.FREQUENCE_STATISTICS)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(150);
    TableColumn column3=new TableColumn(table,SWT.NONE);
    column3.setText("String_Node_Str");
    column3.setWidth(150);
    tbViewer.setLabelProvider(new FrequencyLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else   if (inputObject.getChartNamedType().equals(CompositeIndicator.SUMMARY_STATISTICS)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(300);
    tbViewer.setLabelProvider(new SummaryLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else   if (inputObject.getChartNamedType().equals(CompositeIndicator.PATTERN_MATCHING)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(75);
    TableColumn column3=new TableColumn(table,SWT.NONE);
    column3.setText("String_Node_Str");
    column3.setWidth(75);
    TableColumn column4=new TableColumn(table,SWT.NONE);
    column4.setText("String_Node_Str");
    column4.setWidth(75);
    TableColumn column5=new TableColumn(table,SWT.NONE);
    column5.setText("String_Node_Str");
    column5.setWidth(75);
    tbViewer.setLabelProvider(new PatternLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else {
    tbViewer.setLabelProvider(new LabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
  tbViewer.setInput(inputObject);
}

Fixed version (ground truth):
public static void createTable(Composite parent,ChartWithData inputObject){
  TableViewer tbViewer=new TableViewer(parent,SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION);
  Table table=tbViewer.getTable();
  table.setHeaderVisible(true);
  table.setLinesVisible(true);
  table.setLayoutData(new GridData(GridData.FILL_BOTH));
  if (inputObject.getChartNamedType().equals(CompositeIndicator.SIMPLE_STATISTICS) || inputObject.getChartNamedType().equals(CompositeIndicator.TEXT_STATISTICS)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(150);
    TableColumn column3=new TableColumn(table,SWT.NONE);
    column3.setText("String_Node_Str");
    column3.setWidth(150);
    tbViewer.setLabelProvider(new SimpleLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else   if (inputObject.getChartNamedType().equals(CompositeIndicator.FREQUENCE_STATISTICS)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(150);
    TableColumn column3=new TableColumn(table,SWT.NONE);
    column3.setText("String_Node_Str");
    column3.setWidth(150);
    tbViewer.setLabelProvider(new FrequencyLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else   if (inputObject.getChartNamedType().equals(CompositeIndicator.SUMMARY_STATISTICS)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(300);
    tbViewer.setLabelProvider(new SummaryLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else   if (inputObject.getChartNamedType().equals(CompositeIndicator.PATTERN_MATCHING) || inputObject.getChartNamedType().equals(CompositeIndicator.SQL_PATTERN_MATCHING)) {
    TableColumn column1=new TableColumn(table,SWT.NONE);
    column1.setText("String_Node_Str");
    column1.setWidth(200);
    TableColumn column2=new TableColumn(table,SWT.NONE);
    column2.setText("String_Node_Str");
    column2.setWidth(75);
    TableColumn column3=new TableColumn(table,SWT.NONE);
    column3.setText("String_Node_Str");
    column3.setWidth(75);
    TableColumn column4=new TableColumn(table,SWT.NONE);
    column4.setText("String_Node_Str");
    column4.setWidth(75);
    TableColumn column5=new TableColumn(table,SWT.NONE);
    column5.setText("String_Node_Str");
    column5.setWidth(75);
    tbViewer.setLabelProvider(new PatternLabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
 else {
    tbViewer.setLabelProvider(new LabelProvider());
    tbViewer.setContentProvider(new CommonContenteProvider());
  }
  tbViewer.setInput(inputObject);
}