Program: 148776
Project: 148776
Buggy source:
public ConditionWidget(Composite parent,FormToolkit toolkit,AMainPageV2 page){
  this.page=page;
  Group conditionComposite=new Group(parent,SWT.NONE);
  conditionComposite.setBackground(parent.getBackground());
  conditionComposite.setText("String_Node_Str");
  conditionComposite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  conditionComposite.setLayout(new GridLayout(3,false));
  conditionText=toolkit.createText(conditionComposite,"String_Node_Str",SWT.BORDER | SWT.WRAP | SWT.V_SCROLL);
  conditionText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,3));
  Composite conditionBtnComposite=toolkit.createComposite(conditionComposite,SWT.NULL);
  conditionBtnComposite.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  conditionBtnComposite.setLayout(new GridLayout(5,false));
  ButtonListenr listener=new ButtonListenr();
  Button btnLeft=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnLeft.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnLeft.setData("String_Node_Str");
  btnLeft.addSelectionListener(listener);
  Button btnRight=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnRight.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnRight.setData("String_Node_Str");
  btnRight.addSelectionListener(listener);
  Button btnAnd=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnAnd.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnAnd.setData("String_Node_Str");
  btnAnd.addSelectionListener(listener);
  Button btnOr=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnOr.setData("String_Node_Str");
  btnOr.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnOr.addSelectionListener(listener);
  Button btnNot=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnNot.setData("String_Node_Str");
  btnNot.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnNot.addSelectionListener(listener);
}

Fixed version (ground truth):
public ConditionWidget(Composite parent,final TreeParent treeParent,FormToolkit toolkit,AMainPageV2 page){
  this.page=page;
  Group conditionComposite=new Group(parent,SWT.NONE);
  conditionComposite.setBackground(parent.getBackground());
  conditionComposite.setText("String_Node_Str");
  conditionComposite.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,1,1));
  conditionComposite.setLayout(new GridLayout(3,false));
  conditionText=toolkit.createText(conditionComposite,"String_Node_Str",SWT.BORDER | SWT.WRAP | SWT.V_SCROLL);
  conditionText.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true,2,3));
  conditionText.addKeyListener(new KeyListener(){
    public void keyReleased(    KeyEvent event){
      if (event.stateMask == SWT.CTRL && event.keyCode == 17) {
        ResourceSelectDialog dialog=new ResourceSelectDialog(conditionText.getShell(),treeParent.getParent(),"String_Node_Str",ServerView.show().getSite());
        dialog.setBlockOnOpen(true);
        dialog.open();
        if (dialog.getReturnCode() == Window.OK) {
          String xpath=dialog.getXpath();
          conditionText.setText(conditionText.getText() + xpath);
        }
      }
    }
    public void keyPressed(    KeyEvent e){
    }
  }
);
  Composite conditionBtnComposite=toolkit.createComposite(conditionComposite,SWT.NULL);
  conditionBtnComposite.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  conditionBtnComposite.setLayout(new GridLayout(5,false));
  ButtonListenr listener=new ButtonListenr();
  Button btnLeft=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnLeft.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnLeft.setData("String_Node_Str");
  btnLeft.addSelectionListener(listener);
  Button btnRight=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnRight.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnRight.setData("String_Node_Str");
  btnRight.addSelectionListener(listener);
  Button btnAnd=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnAnd.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnAnd.setData("String_Node_Str");
  btnAnd.addSelectionListener(listener);
  Button btnOr=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnOr.setData("String_Node_Str");
  btnOr.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnOr.addSelectionListener(listener);
  Button btnNot=toolkit.createButton(conditionBtnComposite,"String_Node_Str",SWT.PUSH);
  btnNot.setData("String_Node_Str");
  btnNot.setLayoutData(new GridData(SWT.RIGHT,SWT.FILL,false,true,1,1));
  btnNot.addSelectionListener(listener);
}