Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 40795

Summary: [misc] Error in editor when closing project
Product: [Eclipse Project] Platform Reporter: Sukit <tretriluxana.s>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, gautier.desaintmartinlacaze
Version: 2.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Sukit CLA 2003-07-25 14:49:27 EDT
An error message is showing up when closing a project that has source files 
being opened.

To reproduce this bug, do the following.

1. Create or open an existing project.
2. Create or open a couple of existing source files.
3. Quit Eclipse without closing any opened file or the project.
4. Start up Eclipse again, the project that we previously open should show up 
with all the previously opened files.
5. Close the project.

After the last step, the error message shows up. Click Details button will 
show error messages like this.

   Unable to create editor: filexxxx.java.
   Unable to create editor: filexxxx.java.
   Unable to create editor: filexxxx.java.

Note that this problem doesn't happen if open the project after the IDE has 
already started. This means if you have project A already opened when IDE 
starts up, then open project B, then close project B, no problem.
Comment 1 Jerome Lanneluc CLA 2003-08-20 07:27:19 EDT
Java editors don't seem to react to a Java element delta indicating that the 
project is being removed from the model.

Moving to JDT/Text.
Comment 2 Dani Megert CLA 2003-08-20 08:21:31 EDT
Changing summary since you can open the editor under normal scenario.
Comment 3 Dani Megert CLA 2014-06-02 07:24:06 EDT

*** This bug has been marked as a duplicate of bug 41431 ***