Community
Participate
Working Groups
Hi, I am working on an editor project. The problem (bug) that I found is: 1. Launch Eclipse, Create a project with 2 text files, and open these 2 files in editor area 2. (Keep those two files open) and exit Eclipse 3. Launch Eclipse again, (don’t touch the Editor). Close the project. You will always get an exception for that. Thanks Elwin
Can be reproduced using 3.0 M7: the first (already active) editor gets correctly closed but then the workbench tries to activate the editor for the closed resource. The editor manager should not to restore editors for which the editor input doesn't exist anymore. Note: Please include the build id and the exception when filing a bug.
I cannot reproduce this bug on Linux-GTK+ with text files or Java files. I'm going to close this as "WORKSFORME". Please re-open if you still see this problem....
This problem still happens in Eclipse 3.01 in Windows 2000. It looks like same as bug #40795 https://bugs.eclipse.org/bugs/show_bug.cgi?id=40795 Let me know, if you need more information Thanks Elwin
Moving Dougs bugs
I think this is a duplicate of bug 41431. The problem happens on windows only if an editor is open for a resource which is going to be deleted/closed and the editor has not yet been restored/realized from a previous session. AFAIK, on Linux, editors are always restored/realized on startup (not sure about other platforms), therefore it cannot happen there. Whether you actually get an exception when the editor is being restored with the invalid resource depends on the editor's document provider. The default TextFileDocumentProvider appears to handle this case rather gracefully.
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Remy is now responsible for watching the [EditorMgmt] component area.
*** This bug has been marked as a duplicate of bug 41431 ***