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

Bug 329019

Summary: Cannot open file in java editor after closing and reopening the project
Product: [Eclipse Project] Platform Reporter: Anshul <anshulg>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, markus.kell.r, remy.suen
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Anshul CLA 2010-10-29 05:13:43 EDT
Build Identifier: 3.6

resource doesnt refreshes when project is reopen

Reproducible: Always

Steps to Reproduce:
1.have 2 java files open in editor(one being active). 
2.restart eclipse as is
3. close the project
4. inactive file doesnt close and error message appears that Resource <filename> does not exists.
5. reopen the project and try opening the same inactive java file. File doesnt refresh and editor still shows the same error message
Comment 1 Remy Suen CLA 2010-10-29 07:10:29 EDT
(In reply to comment #0)
> 5. reopen the project and try opening the same inactive java file. File doesnt
> refresh and editor still shows the same error message

If you manually refresh does the content show up?
Comment 2 Markus Keller CLA 2010-11-04 06:56:34 EDT
The underlying problem in the platform is bug 18421.
Comment 3 Dani Megert CLA 2010-11-04 08:47:39 EDT
(In reply to comment #2)
> The underlying problem in the platform is bug 18421.
Well, it all boils down to bug 41431: it's inconsistent that we close the activated editors but leave a stale one back.

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