Program: 125091
Project: 125091
Buggy source:
@Override protected void addUtilsButtonListeners(){
  checkConnectionBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    final SelectionEvent e){
      checkConnection();
    }
  }
);
  selectAllBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    final SelectionEvent e){
      try {
        parentWizardPage.getWizard().getContainer().run(true,true,new IRunnableWithProgress(){
          @Override public void run(          final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
            PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable(){
              @Override public void run(){
                monitor.beginTask(Messages.getString("String_Node_Str"),10);
                updateStatus(IStatus.ERROR,null);
                for (                TreeItem tItem : schemaTree.getItems()) {
                  fetchAllChildren((IHDFSNode)tItem.getData());
                }
                for (                TreeItem tItem : schemaTree.getItems()) {
                  updateItem(tItem,true,false);
                }
                monitor.done();
              }
            }
);
          }
        }
);
      }
 catch (      InvocationTargetException e1) {
        ExceptionHandler.process(e1);
      }
catch (      InterruptedException e1) {
        ExceptionHandler.process(e1);
      }
    }
  }
);
  selectNoneBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    final SelectionEvent e){
      count=0;
      countSuccess=0;
      countPending=0;
      for (      TreeItem tItem : schemaTree.getItems()) {
        fetchAllChildren((IHDFSNode)tItem.getData());
      }
      for (      TreeItem tItem : schemaTree.getItems()) {
        updateItem(tItem,false,false);
      }
    }
  }
);
}

Fixed version (ground truth):
@Override protected void addUtilsButtonListeners(){
  checkConnectionBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    final SelectionEvent e){
      checkConnection();
    }
  }
);
  selectAllBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    final SelectionEvent e){
      try {
        parentWizardPage.getWizard().getContainer().run(true,true,new IRunnableWithProgress(){
          @Override public void run(          final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
            PlatformUI.getWorkbench().getDisplay().syncExec(new Runnable(){
              @Override public void run(){
                monitor.beginTask(Messages.getString("String_Node_Str"),10);
                updateStatus(IStatus.ERROR,null);
                for (                TreeItem tItem : schemaTree.getItems()) {
                  fetchAllChildren((IHDFSNode)tItem.getData());
                }
                for (                TreeItem tItem : schemaTree.getItems()) {
                  updateItem(tItem,true,false);
                }
                monitor.done();
              }
            }
);
          }
        }
);
      }
 catch (      InvocationTargetException e1) {
        ExceptionHandler.process(e1);
      }
catch (      InterruptedException e1) {
        ExceptionHandler.process(e1);
      }
    }
  }
);
  selectNoneBtn.addSelectionListener(new SelectionAdapter(){
    @Override public void widgetSelected(    final SelectionEvent e){
      for (      TreeItem tItem : schemaTree.getItems()) {
        fetchAllChildren((IHDFSNode)tItem.getData());
      }
      for (      TreeItem tItem : schemaTree.getItems()) {
        updateItem(tItem,false,false);
      }
    }
  }
);
}