Program: 95960
Project: 95960
Buggy source:
/** 
 * Imports a choosed project from a file.
 * @param elements What to import ? 0 = all >0 = elements
 * @param fileURLs The URLs of the files to import.
 * @param openProject Flag indicating whether the imported project should be  immediately opened after import.
 */
public void importProject(final int elements,final List<URL> fileURLs,final boolean openProject){
  try {
    if (fileURLs == null) {
      return;
    }
    AbstractRunnableWithProgress<IProjectPO> importProjectRunnable=new AbstractRunnableWithProgress<IProjectPO>(){
      public void run(      IProgressMonitor monitor) throws InterruptedException {
        monitor.setTaskName(Messages.ImportFileBPWaitWhileImporting);
        try {
          setResult(FileStorageBP.importProject(elements,fileURLs,monitor,Plugin.getDefault(),openProject));
        }
 catch (        PMException pme) {
          PMExceptionHandler.handlePMExceptionForMasterSession(pme);
        }
catch (        ProjectDeletedException gdpde) {
          PMExceptionHandler.handleGDProjectDeletedException();
        }
      }
    }
;
    PlatformUI.getWorkbench().getProgressService().busyCursorWhile(importProjectRunnable);
    final IProjectPO projectToOpen=importProjectRunnable.getResult();
    if (projectToOpen != null) {
      OpenProjectOperation openOp=new OpenProjectHandler.OpenProjectOperation(projectToOpen);
      try {
        PlatformUI.getWorkbench().getProgressService().busyCursorWhile(openOp);
      }
 catch (      InvocationTargetException ite) {
        log.error(Messages.ErrorOccurredDuringImport,ite.getCause());
        openOp.handleOperationException();
      }
catch (      InterruptedException e) {
        openOp.handleOperationException();
      }
    }
  }
 catch (  InvocationTargetException ite) {
    log.error(Messages.ErrorOccurredDuringImport,ite.getCause());
  }
catch (  InterruptedException e) {
    showCancelImport(Plugin.getDefault());
  }
 finally {
    Plugin.stopLongRunning();
  }
}

Fixed version (ground truth):
/** 
 * Imports a choosed project from a file.
 * @param elements What to import ? 0 = all >0 = elements
 * @param fileURLs The URLs of the files to import.
 * @param openProject Flag indicating whether the imported project should be  immediately opened after import.
 */
public void importProject(final int elements,final List<URL> fileURLs,final boolean openProject){
  try {
    if (fileURLs == null) {
      return;
    }
    AbstractRunnableWithProgress<IProjectPO> importProjectRunnable=new AbstractRunnableWithProgress<IProjectPO>(){
      public void run(      IProgressMonitor monitor) throws InterruptedException {
        monitor.setTaskName(Messages.ImportFileBPWaitWhileImporting);
        try {
          setResult(FileStorageBP.importProject(elements,fileURLs,monitor,Plugin.getDefault(),openProject));
          Persistor.instance().updateDbStatistics();
        }
 catch (        PMException pme) {
          PMExceptionHandler.handlePMExceptionForMasterSession(pme);
        }
catch (        ProjectDeletedException gdpde) {
          PMExceptionHandler.handleGDProjectDeletedException();
        }
      }
    }
;
    PlatformUI.getWorkbench().getProgressService().busyCursorWhile(importProjectRunnable);
    final IProjectPO projectToOpen=importProjectRunnable.getResult();
    if (projectToOpen != null) {
      OpenProjectOperation openOp=new OpenProjectHandler.OpenProjectOperation(projectToOpen);
      try {
        PlatformUI.getWorkbench().getProgressService().busyCursorWhile(openOp);
      }
 catch (      InvocationTargetException ite) {
        log.error(Messages.ErrorOccurredDuringImport,ite.getCause());
        openOp.handleOperationException();
      }
catch (      InterruptedException e) {
        openOp.handleOperationException();
      }
    }
  }
 catch (  InvocationTargetException ite) {
    log.error(Messages.ErrorOccurredDuringImport,ite.getCause());
  }
catch (  InterruptedException e) {
    showCancelImport(Plugin.getDefault());
  }
 finally {
    Plugin.stopLongRunning();
  }
}