Bug 316573

Summary: Current text selection cannot be opened in an editor
Product: [Eclipse Project] JDT Reporter: Luciana Moreira <moreira>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: VERIFIED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: amj87.iitr, daniel_megert, hauser, moreira, prakash, pwebster
Version: 3.6Keywords: needinfo
Target Milestone: 3.7 M3   
Hardware: PC   
OS: Linux   
Whiteboard:

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.