Program: 148465
Project: 148465
Buggy source:
protected Control createDialogArea(Composite parent){
  try {
    parent.getShell().setText(title);
    Composite composite=(Composite)super.createDialogArea(parent);
    GridLayout layout=(GridLayout)composite.getLayout();
    layout.numColumns=2;
    ((GridData)composite.getLayoutData()).widthHint=800;
    Label variableLabel=new Label(composite,SWT.NONE);
    variableLabel.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,true,1,1));
    variableLabel.setText("String_Node_Str");
    variablesCombo=new Combo(composite,SWT.DROP_DOWN | SWT.READ_ONLY);
    variablesCombo.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,true,1,1));
    variablesCombo.addModifyListener(new ModifyListener(){
      public void modifyText(      ModifyEvent e){
        String output=variablesCombo.getText();
        if (output.startsWith(TransformerMainPage.DEFAULT_DISPLAY))         output=DEFAULT_DISPLAY_TEXT;
        String text=variablesCombo.getText();
        if (text.equals(DEFAULT_DISPLAY_TEXT)) {
          text=TransformerMainPage.DEFAULT_DISPLAY;
        }
        variablesViewer.setDocument(new Document(getText(text)));
      }
    }
);
    variablesViewer=new SourceViewer(composite,new VerticalRuler(10),SWT.V_SCROLL | SWT.H_SCROLL);
    variablesViewer.getControl().setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,true,2,1));
    variablesViewer.configure(new TextSourceViewerConfiguration());
    ((GridData)variablesViewer.getControl().getLayoutData()).minimumHeight=500;
    variablesCombo.setFocus();
    refreshData();
    return composite;
  }
 catch (  Exception e) {
    e.printStackTrace();
    MessageDialog.openError(this.getShell(),"String_Node_Str","String_Node_Str" + e.getLocalizedMessage());
    return null;
  }
}

Fixed version (ground truth):
protected Control createDialogArea(Composite parent){
  try {
    parent.getShell().setText(title);
    Composite composite=(Composite)super.createDialogArea(parent);
    GridLayout layout=(GridLayout)composite.getLayout();
    layout.numColumns=2;
    ((GridData)composite.getLayoutData()).widthHint=800;
    Label variableLabel=new Label(composite,SWT.NONE);
    variableLabel.setLayoutData(new GridData(SWT.LEFT,SWT.CENTER,true,true,1,1));
    variableLabel.setText("String_Node_Str");
    variablesCombo=new Combo(composite,SWT.DROP_DOWN | SWT.READ_ONLY);
    variablesCombo.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,true,1,1));
    variablesCombo.addModifyListener(new ModifyListener(){
      public void modifyText(      ModifyEvent e){
        String output=variablesCombo.getText();
        if (output.startsWith(TransformerMainPage.DEFAULT_DISPLAY))         output=DEFAULT_DISPLAY_TEXT;
        String text=variablesCombo.getText();
        if (text.equals(DEFAULT_DISPLAY_TEXT)) {
          text=TransformerMainPage.DEFAULT_DISPLAY;
        }
        variablesViewer.setDocument(new Document(getText(text)));
      }
    }
);
    variablesViewer=new SourceViewer(composite,new VerticalRuler(10),SWT.V_SCROLL | SWT.H_SCROLL);
    variablesViewer.getControl().setLayoutData(new GridData(SWT.FILL,SWT.CENTER,true,true,2,1));
    variablesViewer.configure(new TextSourceViewerConfiguration());
    ((GridData)variablesViewer.getControl().getLayoutData()).minimumHeight=500;
    variablesCombo.setFocus();
    refreshData();
    return composite;
  }
 catch (  Exception e) {
    log.error(e.getMessage(),e);
    MessageDialog.openError(this.getShell(),"String_Node_Str","String_Node_Str" + e.getLocalizedMessage());
    return null;
  }
}