Program: 148863
Project: 148863
Buggy source:
private void makeActions(){
  loginAction=new ServerLoginAction(this);
  logoutAction=new Action(){
    public void run(){
      TreeParent serverRoot=(TreeParent)((IStructuredSelection)ServerView.this.viewer.getSelection()).getFirstElement();
      final String universe=serverRoot.getUniverse();
      final String username=serverRoot.getUsername();
      final String password=serverRoot.getPassword();
      final String endpointAddress=serverRoot.getEndpointAddress();
      TreeParent root=serverRoot.getParent();
      LocalTreeObjectRepository.getInstance().switchOffListening();
      serverRoot.getParent().removeChild(serverRoot);
      ServerView.this.viewer.refresh();
      ServerView.this.viewer.getControl().getDisplay().syncExec(new Runnable(){
        public void run(){
          try {
            Util.getPort(new URL(endpointAddress),universe,username,password).logout(new WSLogout());
          }
 catch (          Exception e) {
            e.printStackTrace();
          }
        }
      }
);
      deleteReserved(endpointAddress,username);
    }
  }
;
  logoutAction.setText("String_Node_Str");
  logoutAction.setToolTipText("String_Node_Str" + IConstants.TALEND + "String_Node_Str");
  logoutAction.setImageDescriptor(ImageCache.getImage(EImage.LOGOUT.getPath()));
  editXObjectAction=new EditXObjectAction(this);
  newXObjectAction=new NewXObjectAction(this);
  renameXObjectAction=new RenameXObjectAction(this);
  browseRevisionAction=new BrowseRevisionAction(this);
  deleteXObjectAction=new DeleteXObjectAction(this);
  serverRefreshAction=new ServerRefreshAction(this);
  browseViewAction=new BrowseViewAction(this);
  copyAction=new CopyXObjectAction(this);
  pasteAction=new PasteXObjectAction(this);
  exportAction=new ExportItemsAction(this);
  importAction=new ImportItemsAction(this);
  newCategoryAction=new NewCategoryAction(this);
}

Fixed version (ground truth):
private void makeActions(){
  loginAction=new ServerLoginAction(this);
  logoutAction=new Action(){
    public void run(){
      TreeParent serverRoot=(TreeParent)((IStructuredSelection)ServerView.this.viewer.getSelection()).getFirstElement();
      final String universe=serverRoot.getUniverse();
      final String username=serverRoot.getUsername();
      final String password=serverRoot.getPassword();
      final String endpointAddress=serverRoot.getEndpointAddress();
      TreeParent root=serverRoot.getParent();
      LocalTreeObjectRepository.getInstance().switchOffListening();
      serverRoot.getParent().removeChild(serverRoot);
      ServerView.this.viewer.refresh();
      ServerView.this.viewer.getControl().getDisplay().syncExec(new Runnable(){
        public void run(){
          try {
            Util.getPort(new URL(endpointAddress),universe,username,password).logout(new WSLogout());
          }
 catch (          Exception e) {
            e.printStackTrace();
          }
        }
      }
);
      deleteReserved(endpointAddress,username,universe);
    }
  }
;
  logoutAction.setText("String_Node_Str");
  logoutAction.setToolTipText("String_Node_Str" + IConstants.TALEND + "String_Node_Str");
  logoutAction.setImageDescriptor(ImageCache.getImage(EImage.LOGOUT.getPath()));
  editXObjectAction=new EditXObjectAction(this);
  newXObjectAction=new NewXObjectAction(this);
  renameXObjectAction=new RenameXObjectAction(this);
  browseRevisionAction=new BrowseRevisionAction(this);
  deleteXObjectAction=new DeleteXObjectAction(this);
  serverRefreshAction=new ServerRefreshAction(this);
  browseViewAction=new BrowseViewAction(this);
  copyAction=new CopyXObjectAction(this);
  pasteAction=new PasteXObjectAction(this);
  exportAction=new ExportItemsAction(this);
  importAction=new ImportItemsAction(this);
  newCategoryAction=new NewCategoryAction(this);
}