Bug 316573 - Current text selection cannot be opened in an editor
Summary: Current text selection cannot be opened in an editor
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7 M3   Edit
Assignee: Ayushman Jain CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2010-06-11 03:22 EDT by Luciana Moreira CLA
Modified: 2010-10-26 08:02 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luciana Moreira CLA 2010-06-11 03:22:09 EDT
Build Identifier: 20100218-1602

When pressing F3 in a class A in project 1 to open class B on project 2, I got the following error message:
"Current text selection cannot be opened in an editor"

At first I thought it was some class path issue caused by a corrupted zip file, see bug314887.

But this was not the case. It turns out that eclipse did not like the fact that I had classes in the same package but spread out in a jar and in the source of project 2. For some reason, this caused a problem with an inner class. I had to transform the inner class into a standard class. 

After doing this F3 worked again. Unfortunately there was not error generated in the error log.

Reproducible: Always
Comment 1 Dani Megert CLA 2010-06-11 03:29:41 EDT
Please provide more detailed steps to reproduce.
Comment 2 Dani Megert CLA 2010-10-26 07:03:30 EDT
.
Comment 3 Ayushman Jain CLA 2010-10-26 08:02:06 EDT
Verified for 3.7M3.