Program: 10719
Project: 10719
Buggy source:
private void createGeneralSectionRestartRequired(Composite parent){
  generalSectionRestartRequired=toolkit.createSection(parent,Section.TITLE_BAR);
  generalSectionRestartRequired.setLayout(new GridLayout());
  GridDataFactory.fillDefaults().grab(true,false).applyTo(generalSectionRestartRequired);
  generalSectionRestartRequired.setText("String_Node_Str");
  generalSectionRestartRequired.clientVerticalSpacing=0;
  Composite client=toolkit.createComposite(generalSectionRestartRequired);
  client.setLayout(new GridLayout(2,false));
  GridDataFactory.fillDefaults().grab(true,false).applyTo(client);
  generalSectionRestartRequired.setClient(client);
  createLabel(client,"String_Node_Str",SWT.CENTER);
  memoryCombo=new Combo(client,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.LEFT,SWT.FILL).applyTo(memoryCombo);
  memoryCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (canUpdate) {
        int selectionIndex=memoryCombo.getSelectionIndex();
        if (selectionIndex != -1) {
          memory=editorPage.getApplicationMemoryChoices()[selectionIndex];
          try {
            CloudFoundryApplicationModule appModule=getExistingApplication();
            new UpdateApplicationMemoryAction(editorPage,memory,appModule).run();
          }
 catch (          CoreException ce) {
            logApplicationModuleFailureError("String_Node_Str");
          }
        }
      }
    }
  }
);
  createLabel(client,"String_Node_Str",SWT.CENTER);
  instanceSpinner=new Spinner(client,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.LEFT,SWT.CENTER).applyTo(instanceSpinner);
  instanceSpinner.setMinimum(0);
  instanceSpinner.addModifyListener(new ModifyListener(){
    public void modifyText(    ModifyEvent e){
      if (canUpdate) {
        try {
          CloudFoundryApplicationModule appModule=getExistingApplication();
          new UpdateInstanceCountAction(editorPage,instanceSpinner,appModule).run();
        }
 catch (        CoreException ce) {
          logApplicationModuleFailureError("String_Node_Str");
        }
      }
    }
  }
);
  toolkit.adapt(instanceSpinner);
  createLabel(client,"String_Node_Str",SWT.CENTER);
  Button envVarsButton=toolkit.createButton(client,"String_Node_Str",SWT.PUSH);
  GridDataFactory.fillDefaults().align(SWT.LEFT,SWT.CENTER).applyTo(envVarsButton);
  envVarsButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      try {
        CloudFoundryApplicationModule appModule=getExistingApplication();
        if (appModule != null) {
          EnvVarsWizard wizard=new EnvVarsWizard(cloudServer,appModule);
          WizardDialog dialog=new WizardDialog(editorPage.getEditorSite().getShell(),wizard);
          dialog.open();
        }
      }
 catch (      CoreException ce) {
        logError("String_Node_Str" + ce.getMessage());
      }
    }
  }
);
}

Fixed version (ground truth):
private void createGeneralSectionRestartRequired(Composite parent){
  generalSectionRestartRequired=toolkit.createSection(parent,Section.TITLE_BAR);
  generalSectionRestartRequired.setLayout(new GridLayout());
  GridDataFactory.fillDefaults().grab(true,false).applyTo(generalSectionRestartRequired);
  generalSectionRestartRequired.setText("String_Node_Str");
  generalSectionRestartRequired.clientVerticalSpacing=0;
  Composite client=toolkit.createComposite(generalSectionRestartRequired);
  client.setLayout(new GridLayout(2,false));
  GridDataFactory.fillDefaults().grab(true,false).applyTo(client);
  generalSectionRestartRequired.setClient(client);
  createLabel(client,"String_Node_Str",SWT.CENTER);
  memoryCombo=new Combo(client,SWT.BORDER);
  GridDataFactory.fillDefaults().align(SWT.LEFT,SWT.FILL).applyTo(memoryCombo);
  memoryCombo.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    SelectionEvent e){
      if (canUpdate) {
        int selectionIndex=memoryCombo.getSelectionIndex();
        if (selectionIndex != -1) {
          memory=editorPage.getApplicationMemoryChoices()[selectionIndex];
          try {
            CloudFoundryApplicationModule appModule=getExistingApplication();
            new UpdateApplicationMemoryAction(editorPage,memory,appModule).run();
          }
 catch (          CoreException ce) {
            logApplicationModuleFailureError("String_Node_Str");
          }
        }
      }
    }
  }
);
  createLabel(client,"String_Node_Str",SWT.CENTER);
  Button envVarsButton=toolkit.createButton(client,"String_Node_Str",SWT.PUSH);
  GridDataFactory.fillDefaults().align(SWT.LEFT,SWT.CENTER).applyTo(envVarsButton);
  envVarsButton.addSelectionListener(new SelectionAdapter(){
    public void widgetSelected(    SelectionEvent e){
      try {
        CloudFoundryApplicationModule appModule=getExistingApplication();
        if (appModule != null) {
          EnvVarsWizard wizard=new EnvVarsWizard(cloudServer,appModule);
          WizardDialog dialog=new WizardDialog(editorPage.getEditorSite().getShell(),wizard);
          dialog.open();
        }
      }
 catch (      CoreException ce) {
        logError("String_Node_Str" + ce.getMessage());
      }
    }
  }
);
}