Bug 36267 - [Key Bindings] Key binding and unknown command (conflict)
Summary: [Key Bindings] Key binding and unknown command (conflict)
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P1 critical (vote)
Target Milestone: 2.1.1   Edit
Assignee: Chris McLaren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 04:24 EDT by Tomas Dusek CLA
Modified: 2003-06-04 12:03 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 Tomas Dusek CLA 2003-04-09 04:24:47 EDT
Hi,

I am facing problem with key bindings where do I have a conflict. The
problem is that I have two entries without name unter "Commands" (in
Preferences/Workbench/Keys). I have got no idea where do they come from,
but after clicking on in I've got error: "An error has occured. See error
log for more details.". This unknown command has scope=Global,
Configuration=Standard and  key sequence=Ctrl+Space [conflict]. I would
like to assign or even better remove this unknown commands, but do not how.

This error with conflict appeared after upgrading to version Version:
2.1.0 Build id: 200303272130. The previous releases 2.0.1 and 2.0.2 did
not have it (or has not been visible).

I think this bug is similar to #36034 or not (?)

Tomas

---- ERROR log from .metada/.log ---

!ENTRY org.eclipse.jface 4 2 Apr 08, 2003 15:33:05.484
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.IllegalArgumentException: Argument cannot be null
	at org.eclipse.swt.SWT.error(SWT.java:2318)
	at org.eclipse.swt.SWT.error(SWT.java:2262)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:385)
	at org.eclipse.swt.widgets.Text.setText(Text.java:1355)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.update(KeyPreferencePage.java:1140)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.selectedComboKeySequence(KeyPreferencePage.java:1032)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.modifiedComboKeySequence(KeyPreferencePage.java:1020)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.access$8(KeyPreferencePage.java:1019)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage$6.modifyText(KeyPreferencePage.java:909)
	at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:183)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:865)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:845)
	at org.eclipse.swt.widgets.Combo.setText(Combo.java:1196)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.setKeySequence(KeyPreferencePage.java:1554)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.selectedTreeViewerCommands(KeyPreferencePage.java:993)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage.access$5(KeyPreferencePage.java:981)
	at
org.eclipse.ui.internal.commands.KeyPreferencePage$3.selectionChanged(KeyPreferencePage.java:876)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:889)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)
	at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1290)
	at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:657)
	at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:681)
	at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:178)
	at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:173)
	at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:308)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
	at org.eclipse.jface.window.Window.open(Window.java:563)
	at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:53)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
	at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
	at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 1 Nick Edgar CLA 2003-04-09 10:47:41 EDT
Candidate for 2.1.1.
Comment 2 Kevin Clark CLA 2003-04-10 14:02:55 EDT
Getting the same error. See my comments in Bug #35874 (this bug is a 
duplicate).
Comment 3 Chris McLaren CLA 2003-05-13 15:22:09 EDT
fixed 2.1.1
Comment 4 Chris McLaren CLA 2003-06-04 12:03:34 EDT
verified M20030602