Program: 148600
Project: 148600
Buggy source:
protected void createCharacteristicsContent(FormToolkit toolkit,Composite charComposite){
  try {
    desAntionComposite=new DescAnnotationComposite("String_Node_Str","String_Node_Str",toolkit,charComposite,(AMainPageV2)this,false);
    Composite comp=toolkit.createComposite(charComposite);
    GridLayout layout=new GridLayout(2,false);
    layout.marginWidth=0;
    layout.marginLeft=0;
    layout.marginTop=0;
    layout.marginHeight=0;
    layout.marginBottom=0;
    comp.setLayout(layout);
    btnRunProcess=toolkit.createButton(comp,"String_Node_Str",SWT.CHECK);
    btnRunProcess.setLayoutData(new GridData(SWT.LEFT,SWT.TOP,true,true,1,1));
    cboProcessList=new Combo(comp,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
    cboProcessList.setLayoutData(new GridData(SWT.LEFT,SWT.TOP,true,true,1,1));
    java.util.List<String> pList=new ArrayList<String>();
    WSTransformerPKArray array=Util.getPort(getXObject()).getTransformerPKs(new WSGetTransformerPKs("String_Node_Str"));
    if (array != null && array.getWsTransformerPK() != null) {
      for (      WSTransformerPK pk : array.getWsTransformerPK()) {
        pList.add(pk.getPk());
      }
    }
    cboProcessList.setItems((String[])pList.toArray(new String[pList.size()]));
    btnRunProcess.addSelectionListener(new SelectionListener(){
      public void widgetSelected(      SelectionEvent e){
        cboProcessList.setEnabled(btnRunProcess.getSelection());
        markDirtyWithoutCommit();
      }
      public void widgetDefaultSelected(      SelectionEvent e){
        cboProcessList.setEnabled(btnRunProcess.getSelection());
        markDirtyWithoutCommit();
      }
    }
);
    cboProcessList.addModifyListener(new ModifyListener(){
      public void modifyText(      ModifyEvent e){
        markDirtyWithoutCommit();
      }
    }
);
    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();
  }
}

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);
    Composite comp=toolkit.createComposite(charComposite);
    GridLayout layout=new GridLayout(2,false);
    layout.marginWidth=0;
    layout.marginLeft=0;
    layout.marginTop=0;
    layout.marginHeight=0;
    layout.marginBottom=0;
    comp.setLayout(layout);
    btnRunProcess=toolkit.createButton(comp,"String_Node_Str",SWT.CHECK);
    btnRunProcess.setLayoutData(new GridData(SWT.LEFT,SWT.TOP,true,true,1,1));
    cboProcessList=new Combo(comp,SWT.READ_ONLY | SWT.DROP_DOWN | SWT.SINGLE);
    cboProcessList.setLayoutData(new GridData(SWT.LEFT,SWT.TOP,true,true,1,1));
    java.util.List<String> pList=new ArrayList<String>();
    WSTransformerPKArray array=Util.getPort(getXObject()).getTransformerPKs(new WSGetTransformerPKs("String_Node_Str"));
    if (array != null && array.getWsTransformerPK() != null) {
      for (      WSTransformerPK pk : array.getWsTransformerPK()) {
        pList.add(pk.getPk());
      }
    }
    cboProcessList.setItems((String[])pList.toArray(new String[pList.size()]));
    btnRunProcess.addSelectionListener(new SelectionListener(){
      public void widgetSelected(      SelectionEvent e){
        cboProcessList.setEnabled(btnRunProcess.getSelection());
        markDirtyWithoutCommit();
      }
      public void widgetDefaultSelected(      SelectionEvent e){
        cboProcessList.setEnabled(btnRunProcess.getSelection());
        markDirtyWithoutCommit();
      }
    }
);
    cboProcessList.addModifyListener(new ModifyListener(){
      public void modifyText(      ModifyEvent e){
        markDirtyWithoutCommit();
      }
    }
);
    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);
    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();
  }
}