Project: JDT
Bug 187824 [build path] NPE when restoring invalid project in workspace root
Reported: 2007-05-18 10:56:59 | Status: verified fixed

20070517-1700 - create project P in workspace - delete project p, but keep content - with an external editor, change .project of P to be invalid - create a new project, point to 'P' location Root exception: java.lang.NullPointerException at org.eclipse.core.internal.filesystem.InternalFileSystemCore.getStore(InternalFileSystemCore.java:104) at org.eclipse.core.filesystem.EFS.getStore(EFS.java:350) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage.deleteProjectFile(JavaProjectWizardSecondPage.java:297) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage.updateProject(JavaProjectWizardSecondPage.java:202) at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizardSecondPage$1$UpdateRunnable.run(JavaProjectWizardSecondPage.java:142) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:68) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/JavaProjectWizardSecondPage.java