Program: 148483
Project: 148483
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=TransformerMainPage.DEFAULT_VAR + output.substring(TransformerMainPage.DEFAULT_DISPLAY.length());
        ProcessResultsDialog.this.variablesViewer.setDocument(new Document(getText(output)));
      }
    }
);
    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="String_Node_Str";
        ProcessResultsDialog.this.variablesViewer.setDocument(new Document(getText(output)));
      }
    }
);
    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;
  }
}