Program: 10641
Project: 10641
Buggy source:
@Override public boolean performFinish(){
  final CloudSpace selectedSpace=cloudSpacePage.getSelectedCloudSpace();
  if (selectedSpace != null && !CloudServerSpacesDelegate.matchesExisting(selectedSpace,cloudServer.getCloudFoundrySpace())) {
    String serverName=cloudSpacePage.getServerName();
    final ServerDescriptor descriptor=ServerDescriptor.getServerDescriptor(cloudServer,serverName);
    if (descriptor == null) {
      CloudFoundryPlugin.logError(NLS.bind(Messages.ERROR_NO_CLOUD_SERVER_DESCRIPTOR,cloudServer.getServerId()));
      return false;
    }
 else {
      final String password=cloudServer.getPassword();
      final String userName=cloudServer.getUsername();
      final String url=cloudServer.getUrl();
      final boolean selfSignedCert=cloudServer.getSelfSignedCertificate();
      CloudUiUtil.runForked(new ICoreRunnable(){
        public void run(        final IProgressMonitor monitor) throws CoreException {
          ServerHandler serverHandler=new ServerHandler(descriptor);
          serverHandler.createServer(monitor,ServerHandler.NEVER_OVERWRITE,new ServerHandlerCallback(){
            @Override public void configureServer(            IServerWorkingCopy wc) throws CoreException {
              CloudFoundryServer cloudServer=(CloudFoundryServer)wc.loadAdapter(CloudFoundryServer.class,null);
              if (cloudServer != null) {
                cloudServer.setPassword(password);
                cloudServer.setUsername(userName);
                cloudServer.setUrl(url);
                cloudServer.setSpace(selectedSpace);
                cloudServer.setSelfSignedCertificate(selfSignedCert);
                cloudServer.saveConfiguration(monitor);
              }
            }
          }
);
        }
      }
,this);
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean performFinish(){
  final CloudSpace selectedSpace=cloudSpacePage.getSelectedCloudSpace();
  if (selectedSpace != null && !CloudServerSpacesDelegate.matchesSpace(selectedSpace,cloudServer.getCloudFoundrySpace())) {
    String serverName=cloudSpacePage.getServerName();
    final ServerDescriptor descriptor=ServerDescriptor.getServerDescriptor(cloudServer,serverName);
    if (descriptor == null) {
      CloudFoundryPlugin.logError(NLS.bind(Messages.ERROR_NO_CLOUD_SERVER_DESCRIPTOR,cloudServer.getServerId()));
      return false;
    }
 else {
      final String password=cloudServer.getPassword();
      final String userName=cloudServer.getUsername();
      final String url=cloudServer.getUrl();
      final boolean selfSignedCert=cloudServer.getSelfSignedCertificate();
      CloudUiUtil.runForked(new ICoreRunnable(){
        public void run(        final IProgressMonitor monitor) throws CoreException {
          ServerHandler serverHandler=new ServerHandler(descriptor);
          serverHandler.createServer(monitor,ServerHandler.NEVER_OVERWRITE,new ServerHandlerCallback(){
            @Override public void configureServer(            IServerWorkingCopy wc) throws CoreException {
              CloudFoundryServer cloudServer=(CloudFoundryServer)wc.loadAdapter(CloudFoundryServer.class,null);
              if (cloudServer != null) {
                cloudServer.setPassword(password);
                cloudServer.setUsername(userName);
                cloudServer.setUrl(url);
                cloudServer.setSpace(selectedSpace);
                cloudServer.setSelfSignedCertificate(selfSignedCert);
                cloudServer.saveConfiguration(monitor);
              }
            }
          }
);
        }
      }
,this);
    }
  }
  return true;
}