Program: 129807
Project: 129807
Buggy source:
public void createControl(Composite parent){
  GridData data;
  Label nameLab=new Label(parent,SWT.NONE);
  nameLab.setText(Messages.getString("String_Node_Str"));
  nameText=new Text(parent,SWT.BORDER);
  nameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  nameText.setEditable(!readOnly);
  Label purposeLab=new Label(parent,SWT.NONE);
  purposeLab.setText(Messages.getString("String_Node_Str"));
  purposeText=new Text(parent,SWT.BORDER);
  purposeText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  purposeText.setEditable(!readOnly);
  Label descriptionLab=new Label(parent,SWT.NONE);
  descriptionLab.setText(Messages.getString("String_Node_Str"));
  descriptionLab.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  descriptionText=new Text(parent,SWT.BORDER | SWT.MULTI | SWT.WRAP| SWT.V_SCROLL);
  data=new GridData(GridData.FILL_HORIZONTAL);
  data.heightHint=60;
  descriptionText.setLayoutData(data);
  descriptionText.setEditable(!readOnly);
  Label authorLab=new Label(parent,SWT.NONE);
  authorLab.setText(Messages.getString("String_Node_Str"));
  authorText=new Text(parent,SWT.BORDER);
  authorText.setEnabled(false);
  authorText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label lockerLab=new Label(parent,SWT.NONE);
  lockerLab.setText(Messages.getString("String_Node_Str"));
  lockerText=new Text(parent,SWT.BORDER);
  lockerText.setEnabled(false);
  lockerText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label versionLab=new Label(parent,SWT.NONE);
  versionLab.setText(Messages.getString("String_Node_Str"));
  Composite versionContainer=new Composite(parent,SWT.NONE);
  versionContainer.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  GridLayout versionLayout=new GridLayout(3,false);
  versionLayout.marginHeight=0;
  versionLayout.marginWidth=0;
  versionLayout.horizontalSpacing=0;
  versionContainer.setLayout(versionLayout);
  versionText=new Text(versionContainer,SWT.BORDER);
  versionText.setEnabled(false);
  versionText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  versionMajorBtn=new Button(versionContainer,SWT.PUSH);
  versionMajorBtn.setText(Messages.getString("String_Node_Str"));
  versionMajorBtn.setEnabled(!readOnly);
  versionMinorBtn=new Button(versionContainer,SWT.PUSH);
  versionMinorBtn.setText(Messages.getString("String_Node_Str"));
  versionMinorBtn.setEnabled(!readOnly);
  Label statusLab=new Label(parent,SWT.NONE);
  statusLab.setText(Messages.getString("String_Node_Str"));
  statusText=new CCombo(parent,SWT.BORDER);
  List<org.talend.core.model.properties.Status> statusList;
  try {
    if (property != null) {
      statusList=statusHelper.getStatusList(property);
      statusText.setItems(toArray(statusList));
      statusText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
      statusText.setEditable(!readOnly);
      statusText.setEnabled(!readOnly);
    }
  }
 catch (  PersistenceException e) {
    ExceptionHandler.process(e);
  }
  Label pathLab=new Label(parent,SWT.NONE);
  pathLab.setText(Messages.getString("String_Node_Str"));
  Composite pathContainer=new Composite(parent,SWT.NONE);
  pathContainer.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  GridLayout pathLayout=new GridLayout(2,false);
  pathLayout.marginHeight=0;
  pathLayout.marginWidth=0;
  pathLayout.horizontalSpacing=0;
  pathContainer.setLayout(pathLayout);
  pathText=new Text(pathContainer,SWT.BORDER);
  pathText.setEnabled(false);
  pathText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  if (editPath) {
    Button button=new Button(pathContainer,SWT.PUSH);
    button.setText(Messages.getString("String_Node_Str"));
    button.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        openFolderSelectionDialog(NEED_CANCEL_BUTTON);
      }
    }
);
    if (destinationPath == null) {
      openFolderSelectionDialog(!NEED_CANCEL_BUTTON);
    }
  }
}

Fixed version (ground truth):
public void createControl(Composite parent){
  GridData data;
  Label nameLab=new Label(parent,SWT.NONE);
  nameLab.setText(Messages.getString("String_Node_Str"));
  nameText=new Text(parent,SWT.BORDER);
  nameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  nameText.setEditable(!readOnly);
  Label purposeLab=new Label(parent,SWT.NONE);
  purposeLab.setText(Messages.getString("String_Node_Str"));
  purposeText=new Text(parent,SWT.BORDER);
  purposeText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  purposeText.setEditable(!readOnly);
  Label descriptionLab=new Label(parent,SWT.NONE);
  descriptionLab.setText(Messages.getString("String_Node_Str"));
  descriptionLab.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_BEGINNING));
  descriptionText=new Text(parent,SWT.BORDER | SWT.MULTI | SWT.WRAP| SWT.V_SCROLL);
  data=new GridData(GridData.FILL_HORIZONTAL);
  data.heightHint=60;
  descriptionText.setLayoutData(data);
  descriptionText.setEditable(!readOnly);
  Label authorLab=new Label(parent,SWT.NONE);
  authorLab.setText(Messages.getString("String_Node_Str"));
  authorText=new Text(parent,SWT.BORDER);
  authorText.setEnabled(false);
  authorText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label lockerLab=new Label(parent,SWT.NONE);
  lockerLab.setText(Messages.getString("String_Node_Str"));
  lockerText=new Text(parent,SWT.BORDER);
  lockerText.setEnabled(false);
  lockerText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label versionLab=new Label(parent,SWT.NONE);
  versionLab.setText(Messages.getString("String_Node_Str"));
  Composite versionContainer=new Composite(parent,SWT.NONE);
  versionContainer.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  GridLayout versionLayout=new GridLayout(3,false);
  versionLayout.marginHeight=0;
  versionLayout.marginWidth=0;
  versionLayout.horizontalSpacing=0;
  versionContainer.setLayout(versionLayout);
  versionText=new Text(versionContainer,SWT.BORDER);
  versionText.setEnabled(false);
  versionText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  versionMajorBtn=new Button(versionContainer,SWT.PUSH);
  versionMajorBtn.setText(Messages.getString("String_Node_Str"));
  versionMajorBtn.setEnabled(!readOnly);
  versionMinorBtn=new Button(versionContainer,SWT.PUSH);
  versionMinorBtn.setText(Messages.getString("String_Node_Str"));
  versionMinorBtn.setEnabled(!readOnly);
  Label statusLab=new Label(parent,SWT.NONE);
  statusLab.setText(Messages.getString("String_Node_Str"));
  statusText=new CCombo(parent,SWT.BORDER);
  statusText.setEditable(false);
  List<org.talend.core.model.properties.Status> statusList;
  try {
    if (property != null) {
      statusList=statusHelper.getStatusList(property);
      statusText.setItems(toArray(statusList));
      statusText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
    }
  }
 catch (  PersistenceException e) {
    ExceptionHandler.process(e);
  }
  Label pathLab=new Label(parent,SWT.NONE);
  pathLab.setText(Messages.getString("String_Node_Str"));
  Composite pathContainer=new Composite(parent,SWT.NONE);
  pathContainer.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  GridLayout pathLayout=new GridLayout(2,false);
  pathLayout.marginHeight=0;
  pathLayout.marginWidth=0;
  pathLayout.horizontalSpacing=0;
  pathContainer.setLayout(pathLayout);
  pathText=new Text(pathContainer,SWT.BORDER);
  pathText.setEnabled(false);
  pathText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  if (editPath) {
    Button button=new Button(pathContainer,SWT.PUSH);
    button.setText(Messages.getString("String_Node_Str"));
    button.addSelectionListener(new SelectionAdapter(){
      @Override public void widgetSelected(      SelectionEvent e){
        openFolderSelectionDialog(NEED_CANCEL_BUTTON);
      }
    }
);
    if (destinationPath == null) {
      openFolderSelectionDialog(!NEED_CANCEL_BUTTON);
    }
  }
}