Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324951 - NoSuchMethodError thrown when invoking Ctrl+Alt+H on I20100909-2018
Summary: NoSuchMethodError thrown when invoking Ctrl+Alt+H on I20100909-2018
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: 4.1 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 07:46 EDT by Remy Suen CLA
Modified: 2010-09-15 07:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-09-10 07:46:57 EDT
I20100909-2018

The 'Call Hierarchy' view itself will be populated despite the error and seems to work but if you click on the originating method in the tree the error will be thrown again.

java.lang.NoSuchMethodError: org.eclipse.jdt.core.ISourceReference.getNameRange()Lorg/eclipse/jdt/core/ISourceRange;
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.setSelection(JavaEditor.java:2297)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.setSelection(JavaEditor.java:2353)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.revealInEditor(EditorUtility.java:247)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.revealElementInEditor(CallHierarchyViewPart.java:794)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.methodSelectionChanged(CallHierarchyViewPart.java:755)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.selectionChanged(CallHierarchyViewPart.java:744)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2162)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1699)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1139)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewer.setMethodWrappers(CallHierarchyViewer.java:69)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.updateView(CallHierarchyViewPart.java:1077)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.refresh(CallHierarchyViewPart.java:726)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyViewPart.setInputElements(CallHierarchyViewPart.java:293)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyUI.openView(CallHierarchyUI.java:229)
at org.eclipse.jdt.internal.ui.callhierarchy.CallHierarchyUI.openSelectionDialog(CallHierarchyUI.java:217)
at org.eclipse.jdt.internal.ui.callhierarchy.OpenCallHierarchyAction.run(OpenCallHierarchyAction.java:117)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:278)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:121)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:56)at org.eclipse.equinox.launcher.Main.run(Main.java:1409)
Comment 1 Remy Suen CLA 2010-09-10 08:15:00 EDT
Clicking stuff in the 'Outline' view or using Ctrl+O will prompt the error dialog despite the fact that it shifts the editor. This build is pretty much unusable.
Comment 2 Remy Suen CLA 2010-09-10 11:21:58 EDT
I20100910-1033 doesn't have this problem anymore.
Comment 3 Paul Webster CLA 2010-09-15 07:58:05 EDT
In I20100914-1023
PW