Project: JDT
Bug 177359 [actions] Opening closed projects fails when one is corrupted
Reported: 2007-03-14 11:50:14 | Status: resolved fixed

Build ID: I20061214-1445 Steps To Reproduce: 1. Group some project in working set 2. Close all projects 3. Remove .project file from one of closed project 4. From working set menu in Package Explorer choose 'Open projects' More information: It should open all except corrupted one. Instead exception is thrown: eclipse.buildId=I20061214-1445 java.version=1.5.0_10 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL Command-line arguments: -os win32 -ws win32 -arch x86 Error Wed Mar 14 16:33:20 CET 2007 Internal Error Java Model Exception: Core Exception [code 567] The project description file (.project) for 'Literki' is missing. This file contains important information about the project. The project will not function properly until this file is restored. at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:50) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1743) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4075) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.eclipse.core.internal.resources.ResourceException: The project description file (.project) for 'Literki' is missing. This file contains important information about the project. The project will not function properly until this file is restored. at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:660) at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:779) at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:685) at org.eclipse.core.internal.resources.Project.open(Project.java:841) at org.eclipse.core.internal.resources.Project.open(Project.java:879) at org.eclipse.jdt.internal.ui.workingsets.OpenCloseWorkingSetAction$OpenWorkingSetAction.performOperation(OpenCloseWorkingSetAction.java:96) at org.eclipse.jdt.internal.ui.workingsets.OpenCloseWorkingSetAction$1.run(OpenCloseWorkingSetAction.java:158) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1743) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4075) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87) 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/workingsets/OpenCloseWorkingSetAction.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetMessages.java