Program: 91778
Project: 91778
Buggy source:
@Override public void createControl(Composite parent){
  ScrolledComposite scrollTop=new ScrolledComposite(parent,SWT.H_SCROLL | SWT.V_SCROLL);
  scrollTop.setExpandVertical(true);
  scrollTop.setExpandHorizontal(true);
  final Composite container=new Composite(scrollTop,SWT.NONE);
  GridLayoutFactory.fillDefaults().numColumns(3).margins(6,6).applyTo(container);
  final Label vmNameLabel=new Label(container,SWT.NONE);
  vmNameLabel.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(vmNameLabel);
  final Text vmNameText=new Text(container,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(true,false).span(2,1).applyTo(vmNameText);
  vmNameText.setToolTipText(WizardMessages.getString("String_Node_Str"));
  final IObservableValue<String> vmmNameObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.VM_NAME).observe(model);
  dbc.bindValue(WidgetProperties.text(SWT.Modify).observe(vmNameText),vmmNameObservable);
  final Label boxRefLabel=new Label(container,SWT.NONE);
  boxRefLabel.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(boxRefLabel);
  final Text boxRefText=new Text(container,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(true,false).applyTo(boxRefText);
  boxRefText.setToolTipText(WizardMessages.getString("String_Node_Str"));
  final IObservableValue<String> boxRefObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.BOX_REF).observe(model);
  dbc.bindValue(WidgetProperties.text(SWT.Modify).observe(boxRefText),boxRefObservable);
  final Button boxSearchButton=new Button(container,SWT.NONE);
  boxSearchButton.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(boxSearchButton);
  boxSearchButton.addSelectionListener(onSearchImage());
  final Button customVMFileButton=new Button(container,SWT.CHECK);
  customVMFileButton.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).span(3,1).applyTo(customVMFileButton);
  final IObservableValue<String> customVMFileObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.V_FILE_MODE).observe(model);
  dbc.bindValue(WidgetProperties.selection().observe(customVMFileButton),customVMFileObservable);
  final Label boxLocLabel=new Label(container,SWT.NONE);
  boxLocLabel.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(boxLocLabel);
  final Text boxLocText=new Text(container,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(true,false).applyTo(boxLocText);
  boxLocText.setToolTipText(WizardMessages.getString("String_Node_Str"));
  boxLocText.setEnabled(false);
  final IObservableValue<String> boxLocObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.VM_FILE).observe(model);
  dbc.bindValue(WidgetProperties.text(SWT.Modify).observe(boxLocText),boxLocObservable);
  boxLocText.addModifyListener(e -> vmFileChanged(boxLocText.getText()));
  final Button vgFilesearchButton=new Button(container,SWT.NONE);
  vgFilesearchButton.setText(WizardMessages.getString("String_Node_Str"));
  vgFilesearchButton.setEnabled(false);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(vgFilesearchButton);
  vgFilesearchButton.addSelectionListener(onSearchImage());
  customVMFileButton.addSelectionListener(onCheckCustomVMFile(vmNameText,boxRefText,boxLocText,vgFilesearchButton,boxSearchButton));
  dbc.addValidationStatusProvider(new CreateVMValidationStatusProvider(vmmNameObservable,boxRefObservable,boxLocObservable));
  advanced=new CreateVMAdvancedComposite(container,scrollTop,model);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).span(3,1).grab(true,false).applyTo(advanced);
  WizardPageSupport.create(this,dbc);
  scrollTop.setContent(container);
  Point point=container.computeSize(SWT.DEFAULT,SWT.DEFAULT);
  scrollTop.setSize(point);
  scrollTop.setMinSize(point);
  setControl(container);
}

Fixed version (ground truth):
@Override public void createControl(Composite parent){
  ScrolledComposite scrollTop=new ScrolledComposite(parent,SWT.H_SCROLL | SWT.V_SCROLL);
  scrollTop.setExpandVertical(true);
  scrollTop.setExpandHorizontal(true);
  final Composite container=new Composite(scrollTop,SWT.NONE);
  GridLayoutFactory.fillDefaults().numColumns(3).margins(6,6).applyTo(container);
  final Label vmNameLabel=new Label(container,SWT.NONE);
  vmNameLabel.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(vmNameLabel);
  final Text vmNameText=new Text(container,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(true,false).span(2,1).applyTo(vmNameText);
  vmNameText.setToolTipText(WizardMessages.getString("String_Node_Str"));
  final IObservableValue<String> vmmNameObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.VM_NAME).observe(model);
  dbc.bindValue(WidgetProperties.text(SWT.Modify).observe(vmNameText),vmmNameObservable);
  final Label boxRefLabel=new Label(container,SWT.NONE);
  boxRefLabel.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(boxRefLabel);
  final Text boxRefText=new Text(container,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(true,false).applyTo(boxRefText);
  boxRefText.setToolTipText(WizardMessages.getString("String_Node_Str"));
  final IObservableValue<String> boxRefObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.BOX_REF).observe(model);
  dbc.bindValue(WidgetProperties.text(SWT.Modify).observe(boxRefText),boxRefObservable);
  final Button boxSearchButton=new Button(container,SWT.NONE);
  boxSearchButton.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(boxSearchButton);
  boxSearchButton.addSelectionListener(onSearchImage());
  final Button customVMFileButton=new Button(container,SWT.CHECK);
  customVMFileButton.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).span(3,1).applyTo(customVMFileButton);
  final IObservableValue<String> customVMFileObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.V_FILE_MODE).observe(model);
  dbc.bindValue(WidgetProperties.selection().observe(customVMFileButton),customVMFileObservable);
  final Label boxLocLabel=new Label(container,SWT.NONE);
  boxLocLabel.setText(WizardMessages.getString("String_Node_Str"));
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(boxLocLabel);
  final Text boxLocText=new Text(container,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(true,false).applyTo(boxLocText);
  boxLocText.setToolTipText(WizardMessages.getString("String_Node_Str"));
  boxLocText.setEnabled(false);
  final IObservableValue<String> boxLocObservable=BeanProperties.value(CreateVMPageModel.class,CreateVMPageModel.VM_FILE).observe(model);
  dbc.bindValue(WidgetProperties.text(SWT.Modify).observe(boxLocText),boxLocObservable);
  boxLocText.addModifyListener(e -> vmFileChanged(boxLocText.getText()));
  final Button vgFilesearchButton=new Button(container,SWT.NONE);
  vgFilesearchButton.setText(WizardMessages.getString("String_Node_Str"));
  vgFilesearchButton.setEnabled(false);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).grab(false,false).applyTo(vgFilesearchButton);
  vgFilesearchButton.addSelectionListener(onSearchVMFile());
  customVMFileButton.addSelectionListener(onCheckCustomVMFile(vmNameText,boxRefText,boxLocText,vgFilesearchButton,boxSearchButton));
  dbc.addValidationStatusProvider(new CreateVMValidationStatusProvider(vmmNameObservable,boxRefObservable,boxLocObservable));
  advanced=new CreateVMAdvancedComposite(container,scrollTop,model);
  GridDataFactory.fillDefaults().align(SWT.FILL,SWT.CENTER).span(3,1).grab(true,false).applyTo(advanced);
  WizardPageSupport.create(this,dbc);
  scrollTop.setContent(container);
  Point point=container.computeSize(SWT.DEFAULT,SWT.DEFAULT);
  scrollTop.setSize(point);
  scrollTop.setMinSize(point);
  setControl(container);
}