Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5 Build Identifier: M20090917-0800 Ther is an exception: org.eclipse.core.runtime.CoreException: The file does not exist. That happends when I delete project from Package Navigator (and from filesystem) after I've restarted the workspace with some java files from this project already opened in the java editor. Reproducible: Always Steps to Reproduce: 1. Create simple Java project. 2. Create some java classes in the source folded. 3. Open two or three java files it the editors 4. Choose from Restart from File menu (or close Eclipse and start it again) 5. Notice that java files are still opened in their editors. Do nothing with them. 6. Delete your java project: Choose "Delete" from Package Navigator popup menu, alse select a checkbox "Delete from filesystem..". 7. The project will be deleted. 8. Opened editors will be refreshed, and the exception will be thrown.
Created attachment 153819 [details] The exception stack trace has been uploaded. The exception stack trace has been uploaded.
This problem seems familiar to me. Might be the problem that we defer to the editor to close itself if its input closes, but the editors haven't been instantiated by us yet and so cannot react to the close. PW
There are several old bugs about this like bug 41431, bug 52279, and bug 101391. They mention the _closing_ of a project instead of a _deletion_ though. I suspect the root cause is identical though.
Yes, there are some familar bugs. Note: if step #4 (restart eclipse) is skipped everything works fine: project gets deleted, all opened editors are closed.
Remy, Do you want a 3.5.2 milestone? PW
(In reply to comment #5) > Remy, Do you want a 3.5.2 milestone? No plans at the moment.
To be clear, this was not intended to be a 3.5.1 or 3.5.2 candidate. There was a mistake during triage where the 'Target Milestone' field was set to 3.5.1 when the intended field to change was the 'Version' field. Our apologies for any confusion that this has caused.
*** This bug has been marked as a duplicate of bug 29570 ***
*** This bug has been marked as a duplicate of bug 41431 ***
>*** This bug has been marked as a duplicate of bug 29570 *** Actually not: the delete action should close the editors before deletion.