Program: 102063
Project: 102063
Buggy source:
@Override public void createCustomControl(Composite parent){
  wizard=(WSSoapConnectionProfileWizard)getWizard();
  profileProperties=wizard.getProfileProperties();
  Group group=WidgetFactory.createSimpleGroup(parent,null);
  scrolled=new Composite(group,SWT.NONE);
  GridLayoutFactory.fillDefaults().numColumns(2).margins(5,5).applyTo(scrolled);
  Label title=new Label(scrolled,SWT.NONE);
  title.setText(UTIL.getString("String_Node_Str"));
  title.setFont(JFaceResources.getBannerFont());
  GridDataFactory.fillDefaults().grab(true,false).span(2,1).align(SWT.CENTER,SWT.CENTER).applyTo(title);
  profileLabel=new Label(scrolled,SWT.NONE);
  profileLabel.setText(UTIL.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().applyTo(profileLabel);
  profileText=WidgetFactory.createLabel(scrolled,wizard.getProfileName(),SWT.SINGLE);
  GridDataFactory.swtDefaults().applyTo(profileText);
  descriptionLabel=new Label(scrolled,SWT.NONE);
  descriptionLabel.setText(UTIL.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().applyTo(descriptionLabel);
  descriptionText=WidgetFactory.createTextBox(scrolled,SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY,GridData.FILL);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(descriptionText);
  descriptionText.setText(wizard.getProfileDescription());
  descriptionText.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
  Label label=WidgetFactory.createLabel(scrolled,UTIL.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().align(SWT.LEFT,SWT.CENTER).applyTo(label);
  endPointCombo=WidgetFactory.createCombo(scrolled,SWT.READ_ONLY,GridData.FILL_HORIZONTAL,new String[0],true);
  endPointCombo.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_DARK_BLUE));
  GridDataFactory.fillDefaults().applyTo(endPointCombo);
  endPointCombo.addSelectionListener(new SelectionListener(){
    @Override public void widgetSelected(    SelectionEvent e){
      handlePortNameSelected();
    }
    @Override public void widgetDefaultSelected(    SelectionEvent e){
    }
  }
);
  endPointCombo.setVisibleItemCount(10);
}

Fixed version (ground truth):
@Override public void createCustomControl(Composite parent){
  wizard=(WSSoapConnectionProfileWizard)getWizard();
  profileProperties=wizard.getProfileProperties();
  Group group=WidgetFactory.createSimpleGroup(parent,null);
  scrolled=new Composite(group,SWT.NONE);
  GridLayoutFactory.fillDefaults().numColumns(2).margins(5,5).applyTo(scrolled);
  Label title=new Label(scrolled,SWT.NONE);
  title.setText(UTIL.getString("String_Node_Str"));
  title.setFont(JFaceResources.getBannerFont());
  GridDataFactory.fillDefaults().grab(true,false).span(2,1).align(SWT.CENTER,SWT.CENTER).applyTo(title);
  profileLabel=new Label(scrolled,SWT.NONE);
  profileLabel.setText(UTIL.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().applyTo(profileLabel);
  profileText=WidgetFactory.createLabel(scrolled,wizard.getProfileName(),SWT.SINGLE);
  GridDataFactory.swtDefaults().applyTo(profileText);
  descriptionLabel=new Label(scrolled,SWT.NONE);
  descriptionLabel.setText(UTIL.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().applyTo(descriptionLabel);
  descriptionText=WidgetFactory.createTextBox(scrolled,SWT.SINGLE | SWT.BORDER | SWT.READ_ONLY,GridData.FILL);
  GridDataFactory.fillDefaults().grab(true,false).applyTo(descriptionText);
  descriptionText.setText(wizard.getProfileDescription());
  descriptionText.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
  Label label=WidgetFactory.createLabel(scrolled,UTIL.getString("String_Node_Str"));
  GridDataFactory.swtDefaults().align(SWT.LEFT,SWT.CENTER).applyTo(label);
  endPointCombo=WidgetFactory.createCombo(scrolled,SWT.READ_ONLY,GridData.FILL_HORIZONTAL,new String[0],true);
  endPointCombo.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_DARK_BLUE));
  GridDataFactory.fillDefaults().applyTo(endPointCombo);
  endPointCombo.addSelectionListener(new SelectionListener(){
    @Override public void widgetSelected(    SelectionEvent e){
      handlePortNameSelected();
    }
    @Override public void widgetDefaultSelected(    SelectionEvent e){
    }
  }
);
  endPointCombo.setVisibleItemCount(10);
  label=WidgetFactory.createLabel(scrolled,UTIL.getString("String_Node_Str"));
  GridData gd=new GridData();
  gd.verticalAlignment=SWT.CENTER;
  label.setLayoutData(gd);
  label.setToolTipText(UTIL.getString("String_Node_Str"));
  defaultBindingText=new Text(scrolled,SWT.BORDER | SWT.SINGLE);
  defaultBindingText.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW));
  defaultBindingText.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_DARK_BLUE));
  GridDataFactory.fillDefaults().applyTo(defaultBindingText);
  defaultBindingText.setToolTipText(UTIL.getString("String_Node_Str"));
}