Community
Participate
Working Groups
Using 4.3.0 I20130605-2000 or 4.4.0 I20130709-0800. Easier to reproduce on Linux (Ubuntu 13.04) but also reproducable on Windows 7. 1. Start debugging and stop at a breakpoint so that you can see variables 2. In the Debug view, right-click on a column header. Exception occurs: org.eclipse.core.runtime.AssertionFailedException: null argument:Action must not be null at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85) at org.eclipse.jface.action.ContributionManager.add(ContributionManager.java:75) at org.eclipse.debug.internal.ui.views.variables.VariablesView.fillContextMenu(VariablesView.java:1094) at org.eclipse.debug.ui.AbstractDebugView$2.menuAboutToShow(AbstractDebugView.java:537) at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:343) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:475) at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:470) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:500) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:255) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
Looks like the Find action is being removed from the global action map after a certain set of actions. Some steps I used to reproduce: 1. debug a simple app, with vars you can edit while debugging 2. when suspended, go to the var view 3. click a var entry to start editing it 4. without ending the edit, right-click on the column header of another column
*** Bug 442866 has been marked as a duplicate of this bug. ***
https://dev.eclipse.org/recommenders/committers/confess//#/problems/54c4ee93bee810030da05c58/triage
Mike, I agree that we should investigate on why "Find" is removed on Mac. But till that is found , should we not add a null check before adding Find action ?
(In reply to Sarika Sinha from comment #4) > Mike, > I agree that we should investigate on why "Find" is removed on Mac. But till > that is found , should we not add a null check before adding Find action ? That makes sense.
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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.
Just got this error few times while debugging. No idea why. eclipse.buildId=4.23.0.I20220209-1800 java.version=11.0.10 java.vendor=Red Hat, Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -data /data/4x_platform_workspace -os linux -ws gtk -arch x86_64 org.eclipse.ui Error Thu Feb 10 17:15:05 CET 2022 Unhandled event loop exception org.eclipse.core.runtime.AssertionFailedException: null argument:Action must not be null at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:88) at org.eclipse.jface.action.ContributionManager.add(ContributionManager.java:76) at org.eclipse.debug.internal.ui.views.variables.VariablesView.fillContextMenu(VariablesView.java:1089) at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:338) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:468) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:259) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1516) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1542) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1521) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:290) at org.eclipse.swt.widgets.Display.runPopups(Display.java:5168) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4572) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1154) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1045) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
And, btw, there *was* the "Find..." action in the context menu. It seem randomly appear while I'm right clicking on variables, but I see no pattern what causes the error...
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/190687
(In reply to Eclipse Genie from comment #9) > New Gerrit change created: > https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/190687 Not a fix, just want see if the global actions map was entirely empty (would mean somehow focusLost() clears that via org.eclipse.debug.internal.ui.views.variables.VariablesView.clearGlobalActions()), or something else is going wrong.
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/190687 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=e583bf6933e54467302239a27e5aad0554fa77ab