Program: 133368
Project: 133368
Buggy source:
/** 
 * Takes all of the information from the wizard pages and uses it to create the plugin and java classes.
 * @return whether the project generation was successful
 */
@Override public boolean performFinish(){
  boolean successful=false;
  try {
    fProjectPage.updateData();
    fContentPage.updateData();
    IDialogSettings settings=getDialogSettings();
    if (settings != null) {
      fProjectPage.saveSettings(settings);
      fContentPage.saveSettings(settings);
    }
    fTemplateWizard.setTemplateExtension(fProjectPage.getProjectName());
    BasicNewProjectResourceWizard.updatePerspective(fConfig);
    if (!PDECore.getDefault().areModelsInitialized()) {
      try {
        getContainer().run(true,true,new IRunnableWithProgress(){
          public void run(          IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
            PDECore.getDefault().getModelManager().targetReloaded(monitor);
            if (monitor.isCanceled()) {
              throw new InterruptedException();
            }
          }
        }
);
      }
 catch (      InterruptedException e) {
        e.printStackTrace();
      }
    }
    getContainer().run(false,true,new NewProjectCreationOperation(fPluginData,fProjectProvider,fTemplateWizard));
    IWorkingSet[] workingSets=fProjectPage.getSelectedWorkingSets();
    if (workingSets.length > 0)     getWorkbench().getWorkingSetManager().addToWorkingSets(fProjectProvider.getProject(),workingSets);
    setNature(fProjectProvider.getProject());
    setPackageLayout();
    addPackageImports();
    fProjectProvider.getProject().refreshLocal(IResource.DEPTH_INFINITE,new NullProgressMonitor());
    successful=true;
  }
 catch (  InvocationTargetException e) {
    PDEPlugin.logException(e);
    e.printStackTrace();
  }
catch (  InterruptedException e) {
    e.printStackTrace();
  }
catch (  CoreException e) {
    e.printStackTrace();
  }
  return successful;
}

Fixed version (ground truth):
/** 
 * Takes all of the information from the wizard pages and uses it to create the plugin and java classes.
 * @return whether the project generation was successful
 */
@Override public boolean performFinish(){
  boolean successful=false;
  try {
    fProjectPage.updateData();
    fContentPage.updateData();
    IDialogSettings settings=getDialogSettings();
    if (settings != null) {
      fProjectPage.saveSettings(settings);
      fContentPage.saveSettings(settings);
    }
    fTemplateWizard.setTemplateExtension(fProjectPage.getProjectName());
    BasicNewProjectResourceWizard.updatePerspective(fConfig);
    if (!PDECore.getDefault().areModelsInitialized()) {
      try {
        getContainer().run(true,true,new IRunnableWithProgress(){
          public void run(          IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
            PDECore.getDefault().getModelManager().targetReloaded(monitor);
            if (monitor.isCanceled()) {
              throw new InterruptedException();
            }
          }
        }
);
      }
 catch (      InterruptedException e) {
        e.printStackTrace();
      }
    }
    getContainer().run(false,true,new NewProjectCreationOperation(fPluginData,fProjectProvider,fTemplateWizard));
    IWorkingSet[] workingSets=fProjectPage.getSelectedWorkingSets();
    if (workingSets.length > 0)     getWorkbench().getWorkingSetManager().addToWorkingSets(fProjectProvider.getProject(),workingSets);
    setNature(fProjectProvider.getProject());
    setPackageLayout();
    updateManifest();
    fProjectProvider.getProject().refreshLocal(IResource.DEPTH_INFINITE,new NullProgressMonitor());
    successful=true;
  }
 catch (  InvocationTargetException e) {
    PDEPlugin.logException(e);
    e.printStackTrace();
  }
catch (  InterruptedException e) {
    e.printStackTrace();
  }
catch (  CoreException e) {
    e.printStackTrace();
  }
  return successful;
}