Program: 148194
Project: 148194
Buggy source:
public void addServerTree(String name,String url,String username,String password,String universe){
  Authenticator.setDefault(null);
  try {
    XtentisServerObjectsRetriever retriever=new XtentisServerObjectsRetriever(name,url,username,password,universe,this);
    new ProgressMonitorDialog(this.getSite().getShell()).run(true,true,retriever);
    TreeParent serverRoot=retriever.getServerRoot();
    TreeParent invisibleRoot=getTreeContentProvider().getInvisibleRoot();
    TreeObject[] serverRoots=invisibleRoot.getChildren();
    boolean found=false;
    for (int i=0; i < serverRoots.length; i++) {
      if (serverRoots[i].getDisplayName().equalsIgnoreCase(serverRoot.getDisplayName())) {
        if (serverRoots[i].getWsKey().equals(serverRoot.getWsKey())) {
          if (serverRoots[i].getUser().getUniverse().equalsIgnoreCase(serverRoot.getUser().getUniverse())) {
            found=true;
            ((TreeParent)serverRoots[i]).synchronizeWith(serverRoot);
          }
        }
      }
    }
    if (!found)     invisibleRoot.addChild(serverRoot);
    LocalTreeObjectRepository.getInstance().setLazySaveStrategy(false,serverRoot);
    getViewer().refresh();
    getViewer().expandToLevel(serverRoot,1);
    MDMServerDef serverDef=MDMServerDef.parse(url,username,password,universe,name);
    boolean saved=MDMServerHelper.saveServer(serverDef);
    if (!saved) {
      MessageDialog.openError(null,"String_Node_Str","String_Node_Str");
      return;
    }
  }
 catch (  InterruptedException ie) {
    return;
  }
catch (  InvocationTargetException e) {
    log.error(e.getMessage(),e);
    ErrorExceptionDialog.openError(this.getSite().getShell(),"String_Node_Str",CommonUtil.getErrMsgFromException(e.getCause()));
  }
}

Fixed version (ground truth):
public boolean addServerTree(String name,String url,String username,String password,String universe){
  Authenticator.setDefault(null);
  try {
    XtentisServerObjectsRetriever retriever=new XtentisServerObjectsRetriever(name,url,username,password,universe,this);
    new ProgressMonitorDialog(this.getSite().getShell()).run(true,true,retriever);
    TreeParent serverRoot=retriever.getServerRoot();
    TreeParent invisibleRoot=getTreeContentProvider().getInvisibleRoot();
    TreeObject[] serverRoots=invisibleRoot.getChildren();
    boolean found=false;
    for (int i=0; i < serverRoots.length; i++) {
      if (serverRoots[i].getDisplayName().equals(serverRoot.getDisplayName())) {
        if (serverRoots[i].getWsKey().equals(serverRoot.getWsKey())) {
          if (serverRoots[i].getUser().getUniverse().equalsIgnoreCase(serverRoot.getUser().getUniverse())) {
            found=true;
            ((TreeParent)serverRoots[i]).synchronizeWith(serverRoot);
          }
        }
      }
    }
    if (!found)     invisibleRoot.addChild(serverRoot);
    LocalTreeObjectRepository.getInstance().setLazySaveStrategy(false,serverRoot);
    getViewer().refresh();
    getViewer().expandToLevel(serverRoot,1);
    MDMServerDef serverDef=MDMServerDef.parse(url,username,password,universe,name);
    boolean saved=MDMServerHelper.saveServer(serverDef);
    if (!saved) {
      MessageDialog.openError(null,"String_Node_Str","String_Node_Str");
      return false;
    }
    return true;
  }
 catch (  InterruptedException ie) {
    return false;
  }
catch (  InvocationTargetException e) {
    log.error(e.getMessage(),e);
    ErrorExceptionDialog.openError(this.getSite().getShell(),"String_Node_Str",CommonUtil.getErrMsgFromException(e.getCause()));
    return false;
  }
}