Community
Participate
Working Groups
From my M6 RCP app, I occasionally get the following error logged, but I can't seem to reproduce it intentionally. It seems to happen when I'm editing or have been editing key bindings from the preferences page. !ENTRY org.eclipse.ui 4 0 2005-05-07 04:46:39.409 !MESSAGE All triggers in a trigger sequence must be an instance of Trigger !STACK 0 java.lang.IllegalArgumentException: All triggers in a trigger sequence must be an instance of Trigger at org.eclipse.jface.bindings.TriggerSequence.<init>(TriggerSequence.java:72) at org.eclipse.jface.bindings.keys.KeySequence.<init>(KeySequence.java:191) at org.eclipse.jface.bindings.keys.KeySequence.getInstance(KeySequence.java: 130) at org.eclipse.jface.bindings.keys.KeySequenceText$KeyTrapListener. handleEvent(KeySequenceText.java:123) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:866) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:879) at org.eclipse.swt.widgets.Text.sendKeyEvent(Text.java:1134) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:875) at org.eclipse.swt.widgets.Widget.wmSysKeyDown(Widget.java:2045) at org.eclipse.swt.widgets.Control.WM_SYSKEYDOWN(Control.java:3767) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3102) at org.eclipse.swt.widgets.Text.windowProc(Text.java:1742) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3466) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1625) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2525) at org.eclipse.jface.window.Window.runEventLoop(Window.java:803) at org.eclipse.jface.window.Window.open(Window.java:781) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction. java:66) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem. handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem. access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5. handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2894) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2527) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at COM.XXX.XXX.RCPApplication.run(RCPApplication.java:20) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator. java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl. invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315) at org.eclipse.core.launcher.Main.basicRun(Main.java:268) at org.eclipse.core.launcher.Main.run(Main.java:942) at org.eclipse.core.launcher.Main.main(Main.java:926)
Can you try to let me know how to reproduce this?
Against I20050509-2010: I got this while trying to do something legitimate, but I can only reliably reproduce it by doing something weird: 1) Go to Window > Preferences > General > Keys. 2) Double-click the first line in the View tab (Content Assist) 3) Select the entire text in the Key Sequence > Name text box. 4) Hit the Insert key.
Thanks David. I can confirm that that's exactly what's causing the exception I've been getting. It only became obvious to me when I added Key preferences to my RCP app, but it's also quietly happening with the IDE. I'm using M6.
*** This bug has been marked as a duplicate of 89610 ***