Program: 124876
Project: 124876
Buggy source:
@Override public boolean performFinish(){
  IImportConfsWizardPage currentPage=getCurrentConfPage();
  if (currentPage != null) {
    final IRetrieveConfsService confsService=currentPage.getConfsService();
    if (confsService != null) {
      try {
        final String confsDir=confsService.exportConfs(currentPage.getSelectedServices());
        if (confsDir != null) {
          this.getContainer().run(true,true,new IRunnableWithProgress(){
            @Override public void run(            final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
              monitor.beginTask(Messages.getString("String_Node_Str"),IProgressMonitor.UNKNOWN);
              try {
                if (creation) {
                  getShell().getDisplay().asyncExec(new Runnable(){
                    @Override public void run(){
                      try {
                        HadoopConfsUtils.setConnectionParameters(connectionItem,optionPage.getDistribution(),optionPage.getVersion(),confsService);
                        if (parentForm != null) {
                          parentForm.reload();
                        }
                      }
 catch (                      Exception e) {
                        ExceptionHandler.process(e);
                      }
                    }
                  }
);
                }
              }
 catch (              Exception e) {
                throw new InvocationTargetException(e);
              }
 finally {
                monitor.done();
              }
            }
          }
);
        }
      }
 catch (      Exception e) {
        ExceptionHandler.process(e);
      }
    }
  }
  return true;
}

Fixed version (ground truth):
@Override public boolean performFinish(){
  IImportConfsWizardPage currentPage=getCurrentConfPage();
  if (currentPage != null) {
    final IRetrieveConfsService confsService=currentPage.getConfsService();
    if (confsService != null) {
      try {
        final String confsDir=confsService.exportConfs(currentPage.getSelectedServices());
        if (confsDir != null) {
          this.getContainer().run(true,true,new IRunnableWithProgress(){
            @Override public void run(            final IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
              monitor.beginTask(Messages.getString("String_Node_Str"),IProgressMonitor.UNKNOWN);
              try {
                HadoopConfsUtils.buildAndDeployConfsJar(confsDir,HadoopConfsUtils.getConfsJarDefaultName(connectionItem));
                if (creation) {
                  getShell().getDisplay().asyncExec(new Runnable(){
                    @Override public void run(){
                      try {
                        HadoopConfsUtils.setConnectionParameters(connectionItem,optionPage.getDistribution(),optionPage.getVersion(),confsService);
                        if (parentForm != null) {
                          parentForm.reload();
                        }
                      }
 catch (                      Exception e) {
                        ExceptionHandler.process(e);
                      }
                    }
                  }
);
                }
              }
 catch (              Exception e) {
                throw new InvocationTargetException(e);
              }
 finally {
                monitor.done();
              }
            }
          }
);
        }
      }
 catch (      Exception e) {
        ExceptionHandler.process(e);
      }
    }
  }
  return true;
}