Program: 148678
Project: 148678
Buggy source:
protected void createCharacteristicsContent(FormToolkit toolkit,Composite charComposite){
  try {
    desAntionComposite=new DescAnnotationComposite("String_Node_Str","String_Node_Str",toolkit,charComposite,(AMainPageV2)this,false);
    windowTarget=new DropTarget(this.getPartControl(),DND.DROP_MOVE);
    windowTarget.setTransfer(new Transfer[]{TextTransfer.getInstance()});
    windowTarget.addDropListener(new DCDropTargetListener());
    Composite viewablehGroup=this.getNewSectionComposite("String_Node_Str");
    viewablehGroup.setLayout(new GridLayout(2,false));
    viewableElementColumns[0].setColumnWidth(220);
    viewableViewer=new TisTableViewer(Arrays.asList(viewableElementColumns),toolkit,viewablehGroup);
    viewableViewer.setXpath(true);
    if (viewName.startsWith("String_Node_Str")) {
      concept=viewName.replaceAll("String_Node_Str","String_Node_Str").replaceAll("String_Node_Str","String_Node_Str");
    }
    viewableViewer.setConceptName(concept);
    viewableViewer.setMainPage(this);
    viewableViewer.setAddMulti(true);
    viewableViewer.create();
    viewableViewer.setHeight(110);
    Composite searchGroup=this.getNewSectionComposite("String_Node_Str");
    searchGroup.setLayout(new GridLayout(2,false));
    searchableElementColumns[0].setColumnWidth(220);
    searchableViewer=new TisTableViewer(Arrays.asList(searchableElementColumns),toolkit,searchGroup);
    searchableViewer.setXpath(true);
    searchableViewer.setConceptName(concept);
    searchableViewer.setMainPage(this);
    searchableViewer.setAddMulti(true);
    searchableViewer.create();
    searchableViewer.setHeight(110);
    Composite wcGroup=this.getNewSectionComposite("String_Node_Str");
    wcGroup.setLayout(new GridLayout(2,false));
    conditionsColumns[0].setColumnWidth(250);
    conditionsColumns[1].setColumnWidth(150);
    conditionsColumns[2].setColumnWidth(250);
    conditionsColumns[3].setColumnWidth(120);
    conditionViewer=new TisTableViewer(Arrays.asList(conditionsColumns),toolkit,wcGroup);
    conditionViewer.setXpath(true);
    conditionViewer.setConceptName(concept);
    conditionViewer.setMainPage(this);
    conditionViewer.setAddMulti(true);
    conditionViewer.create();
    conditionViewer.setHeight(110);
    refreshData();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
protected void createCharacteristicsContent(FormToolkit toolkit,Composite charComposite){
  try {
    desAntionComposite=new DescAnnotationComposite("String_Node_Str","String_Node_Str",toolkit,charComposite,(AMainPageV2)this,false);
    windowTarget=new DropTarget(this.getPartControl(),DND.DROP_MOVE);
    windowTarget.setTransfer(new Transfer[]{TextTransfer.getInstance()});
    windowTarget.addDropListener(new DCDropTargetListener());
    Composite viewablehGroup=this.getNewSectionComposite("String_Node_Str");
    viewablehGroup.setLayout(new GridLayout(2,false));
    viewableElementColumns[0].setColumnWidth(220);
    viewableViewer=new TisTableViewer(Arrays.asList(viewableElementColumns),toolkit,viewablehGroup);
    viewableViewer.setXpath(true);
    if (viewName.startsWith("String_Node_Str")) {
      concept=viewName.replaceAll("String_Node_Str","String_Node_Str").replaceAll("String_Node_Str","String_Node_Str");
    }
    viewableViewer.setConceptName(concept);
    viewableViewer.setMainPage(this);
    viewableViewer.setAddMulti(true);
    viewableViewer.create();
    viewableViewer.setHeight(110);
    Composite searchGroup=this.getNewSectionComposite("String_Node_Str");
    searchGroup.setLayout(new GridLayout(2,false));
    searchableElementColumns[0].setColumnWidth(220);
    searchableViewer=new TisTableViewer(Arrays.asList(searchableElementColumns),toolkit,searchGroup);
    searchableViewer.setXpath(true);
    searchableViewer.setConceptName(concept);
    searchableViewer.setMainPage(this);
    searchableViewer.setAddMulti(true);
    searchableViewer.create();
    searchableViewer.setHeight(110);
    if (viewName.startsWith("String_Node_Str"))     setCompositeView(false);
 else     setCompositeView(true);
    initCoditionsColumns();
    Composite wcGroup=this.getNewSectionComposite("String_Node_Str");
    wcGroup.setLayout(new GridLayout(2,false));
    conditionsColumns[0].setColumnWidth(250);
    conditionsColumns[1].setColumnWidth(150);
    conditionsColumns[2].setColumnWidth(250);
    conditionsColumns[3].setColumnWidth(120);
    conditionViewer=new TisTableViewer(Arrays.asList(conditionsColumns),toolkit,wcGroup);
    conditionViewer.setXpath(true);
    conditionViewer.setConceptName(concept);
    conditionViewer.setMainPage(this);
    conditionViewer.setAddMulti(true);
    conditionViewer.create();
    conditionViewer.setHeight(110);
    refreshData();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}