Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332698 - When open eclipse, automatic opening of 1st file results in error. File is in a folder linked to by other projects.
Summary: When open eclipse, automatic opening of 1st file results in error. File is in...
Status: CLOSED DUPLICATE of bug 329821
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.j2ee CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 20:00 EST by Jeffrey Wexler CLA
Modified: 2010-12-16 14:39 EST (History)
1 user (show)

See Also:


Attachments
Screenshot of editor pane with file with error on open (218.22 KB, image/png)
2010-12-15 20:01 EST, Jeffrey Wexler CLA
no flags Details
Error details (5.91 KB, text/plain)
2010-12-15 20:02 EST, Jeffrey Wexler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Wexler CLA 2010-12-15 20:00:04 EST
Build Identifier: 20100917-0705

Please see attached screenshot and error details.
This seems to happen every time. When closed eclipse last, there were a combination of 9 .xhtml and .java files that had been open. When started eclipse, the 1st one (an .xhtml file) did not open correctly. Instead, there was a round red circle with a horizontal white bar through the middle and the words: "Could not open the editor: An unexpected exception was thrown and a Details button is displayed. The page (as well as all the others that are opened) had been opened from its original location but is in a folder that is linked to by 4 projects. The other pages opened fine; just the 1st one did not. In order to successfully open that 1st file with the error message, must first close it and then re-open it.

Please see attachment for error messages after clicking on the details button.

Reproducible: Always

Steps to Reproduce:
1.Create multiple projects.
2.Create folders in one or more of the projects and link to those folders from the other projects
3.Create multiple files in the folders created in #2
4.Close eclipse with many of the files still open (e.g., 9 files)
5.Shutdown the computer, pause and restart (possibly not necessary)
6.Start eclipse
Comment 1 Jeffrey Wexler CLA 2010-12-15 20:01:40 EST
Created attachment 185281 [details]
Screenshot of editor pane with file with error on open
Comment 2 Jeffrey Wexler CLA 2010-12-15 20:02:16 EST
Created attachment 185282 [details]
Error details
Comment 3 Nitin Dahyabhai CLA 2010-12-15 20:10:32 EST

*** This bug has been marked as a duplicate of bug 329821 ***
Comment 4 Jeffrey Wexler CLA 2010-12-16 14:39:36 EST
I understand that this has been marked as a duplicate of 329821. Just wanted to add another observation in case it might be helpful:
If the 1st open file (the one furthest to the left in the editor pane) is a .css file, then the error will not occur.