Program: 140784
Project: 140784
Buggy source:
public void createControl(Composite parent){
  Composite container=new Composite(parent,SWT.NONE);
  GridLayout gdLayout=new GridLayout(2,false);
  container.setLayout(gdLayout);
  GridData data;
  Label nameLab=new Label(container,SWT.NONE);
  nameLab.setText("String_Node_Str");
  nameText=new Text(container,SWT.BORDER);
  nameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label pathLab=new Label(container,SWT.NONE);
  pathLab.setText("String_Node_Str");
  Composite pathContainer=new Composite(container,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));
  button=new Button(pathContainer,SWT.PUSH);
  button.setText("String_Node_Str");
  defaultFolderProviderRes=ResourcesPlugin.getWorkspace().getRoot().getProject(DQStructureManager.LIBRARIES).getFolder(DQStructureManager.PATTERNS);
  pathText.setText(defaultFolderProviderRes.getFullPath().toString());
  setControl(container);
  nameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      metadata.put(IParameterConstant.ANALYSIS_NAME,nameText.getText());
      getConnectionParams().setMetadate(metadata);
      setPageComplete(true);
    }
  }
);
  button.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      openFolderSelectionDialog(DQStructureManager.LIBRARIES,DQStructureManager.PATTERNS);
    }
  }
);
}

Fixed version (ground truth):
public void createControl(Composite parent){
  Composite container=new Composite(parent,SWT.NONE);
  GridLayout gdLayout=new GridLayout(2,false);
  container.setLayout(gdLayout);
  GridData data;
  Label nameLab=new Label(container,SWT.NONE);
  nameLab.setText("String_Node_Str");
  nameText=new Text(container,SWT.BORDER);
  nameText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
  Label pathLab=new Label(container,SWT.NONE);
  pathLab.setText("String_Node_Str");
  Composite pathContainer=new Composite(container,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));
  button=new Button(pathContainer,SWT.PUSH);
  button.setText("String_Node_Str");
  defaultFolderProviderRes=ResourcesPlugin.getWorkspace().getRoot().getProject(DQStructureManager.LIBRARIES).getFolder(DQStructureManager.PATTERNS);
  pathText.setText(defaultFolderProviderRes.getFullPath().toString());
  setControl(container);
  nameText.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      metadata.put(IParameterConstant.ANALYSIS_NAME,nameText.getText());
      getConnectionParams().setMetadate(metadata);
      setPageComplete(true);
    }
  }
);
  button.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      openFolderSelectionDialog(DQStructureManager.LIBRARIES,DQStructureManager.PATTERNS);
    }
  }
);
  if (getControl() != null) {
    try {
      PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(),HelpPlugin.PATTERN_CONTEXT_HELP_ID);
    }
 catch (    Exception e) {
      e.printStackTrace();
    }
  }
}