Bug 192706 - F3 won't work from a classfile
Summary: F3 won't work from a classfile
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 112292 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-14 12:20 EDT by Paul Webster CLA
Modified: 2023-03-28 17:49 EDT (History)
2 users (show)

See Also:


Attachments
Log from the problem workspace (31.74 KB, text/plain)
2007-06-15 08:44 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2007-06-14 12:20:03 EDT
I've upgraded my eclipse to I20070614-0800.

I have platform-ui, platform-ui-examples, and platform-ui-tests checked out in my workspace, plus a test "tools" project

I restart eclipse after I've closed all my editors, and use CTRL+SHIFT+T to open org.eclipse.core.internal.expressions.TestExpression which is a classfile.

If I select TypeExtensionManager from one of its private static variables and hit F3 I get the status message "Current text selection does not resolve to a java element".  Selecting it and using CTRL+SHIFT+T will open it no problem, but it won't participate in any of the hierarchy operations (CTRL+T, F4) although CTRL+O continues to work.

PW
Comment 1 Paul Webster CLA 2007-06-14 13:14:05 EDT
It seems to work in a clean workspace.  Is there an index file I can delete in my old workspace?

PW
Comment 2 Jerome Lanneluc CLA 2007-06-15 04:02:27 EDT
I'm afraid deleting the indexes won't help. They must be okay since you can find TypeExtensionManager using Open Type.
There must be some other difference in your old workspace (different preferences, another project with the same types, ...) that make the resolve fail. Any compiler errors, build path problems reported in the Problem view ? Anything in the .log ?
Comment 3 Paul Webster CLA 2007-06-15 08:44:23 EDT
Created attachment 71443 [details]
Log from the problem workspace

In the sessions that have the problem I haven't received any errors except my keybinding conflict for F12.  Those are the SESSIONs from the 14th.

But in this workspace, earlier, I've had PDE parse errors, a few update URL errors, and at least one session that died with PermGen problems.

PW
Comment 4 Paul Webster CLA 2007-06-15 08:46:35 EDT
There aren't any errors currently in the workspace, as I've closed 2 projects (org.eclipse.ui.win32 and org.eclipse.ui.carbon) that don't compile on linux.

PW
Comment 5 Jerome Lanneluc CLA 2007-06-15 09:58:00 EDT
Paul, do you still have your old workspace ? Can we get a hold on it ?
Comment 6 Jerome Lanneluc CLA 2007-06-15 12:33:53 EDT
Reproduced with Paul's workspace. Thanks Paul.
David can you please investigate ? (ask me for Paul's workspace)
Comment 7 David Audel CLA 2007-06-18 07:46:11 EDT
The opened TestExpression is the TestExpression on the classpath of org.eclipse.platform.doc.isv.
TestExpression imports CoreException but this type is not on the classpath.
An AbortCompilation occurs during parsedUnit.scope.faultInTypes() call then no results are returned.

The problem is similar to bug 185319.
Comment 8 Jerome Lanneluc CLA 2007-06-27 10:46:58 EDT
*** Bug 112292 has been marked as a duplicate of this bug. ***
Comment 9 Eclipse Genie CLA 2020-07-31 20:12:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 10 Eclipse Genie CLA 2023-03-28 17:49:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.