Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Ctrl-h for search suddenly does nothing
Ctrl-h for search suddenly does nothing [message #1863342] Sat, 27 January 2024 18:15 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
I've had Eclipse 2023-12 installed since it was released.

Yesterday, for some reason, a pretty major bug appeared, and it has persisted across restarts and reboots.

I use the search dialog numerous times every day. Now, The ctrl-h key binding, or even the "Search" menu item in the "Search" dialog (or even executing "open-search-dialog" from Emacs+) do nothing. No search dialog or error dialog.

I created the following bug report for this: https://github.com/eclipse-platform/eclipse.platform/issues/1151

I just tried bringing up 2023-09, and the search dialog comes up fine.

In the error log, I see the following:

!ENTRY org.eclipse.e4.ui.workbench 4 0 2024-01-27 10:06:18.174
!MESSAGE Execution exception for: ParameterizedCommand(Command(org.eclipse.search.ui.openSearchDialog,Open Search Dialog,
Open the Search dialog,
Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
WorkbenchHandlerServiceHandler("org.eclipse.search.ui.openSearchDialog"),
,,true),null) in
context chain: WorkbenchContext -> TrimmedWindowImpl (IDEWindow) Context -> PerspectiveImpl (org.eclipse.jdt.ui.JavaPerspective) Context -> PartImpl (org.eclipse.e4.ui.compatibility.editor) removeOnHide org.codehaus.groovy.eclipse.editor.GroovyEditorContext
!STACK 0
org.eclipse.core.commands.ExecutionException: Error executing 'org.eclipse.search.ui.openSearchDialog': org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:179)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:485)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:308)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:580)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:655)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:439)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:96)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1286)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1065)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1090)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1075)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1117)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1594)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4866)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:345)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4744)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5039)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
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:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
Caused by: org.eclipse.e4.core.di.InjectionException: org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:298)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:232)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:174)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:165)
... 42 more
Caused by: org.eclipse.core.runtime.AssertionFailedException: null argument:
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:92)
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:79)
at org.eclipse.search.internal.ui.ScopePart.setSelectedScope(ScopePart.java:307)
at org.eclipse.search.internal.ui.ScopePart.setActiveEditorCanProvideScopeSelection(ScopePart.java:349)
at org.eclipse.search.internal.ui.SearchDialog.setActiveEditorCanProvideScopeSelection(SearchDialog.java:654)
at org.eclipse.jdt.internal.ui.search.JavaSearchPage.setVisible(JavaSearchPage.java:505)
at org.eclipse.search.internal.ui.SearchDialog.create(SearchDialog.java:292)
at org.eclipse.jface.window.Window.open(Window.java:788)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:60)
at org.eclipse.search.internal.ui.OpenSearchDialogAction.run(OpenSearchDialogAction.java:50)
at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:288)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:99)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
... 46 more
Re: Ctrl-h for search suddenly does nothing [message #1863343 is a reply to message #1863342] Sun, 28 January 2024 17:16 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4474
Registered: July 2009
Senior Member

Does it change based on which editor is active? The Java Editor? Another one? No editor?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Ctrl-h for search suddenly does nothing [message #1863344 is a reply to message #1863343] Sun, 28 January 2024 17:30 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
It doesn't appear to matter. I've tested it when different editor types were active, and I just tested it after closing all editors (although I'm using Mylyn, so that was just the editors for the current task).
Re: Ctrl-h for search suddenly does nothing [message #1863345 is a reply to message #1863344] Sun, 28 January 2024 21:44 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
Ed Merks is asking questions in the bug report, and one thing that very briefly restored the search dialog was opening a new window from the main window. Again, that was only temporary.
Re: Ctrl-h for search suddenly does nothing [message #1863346 is a reply to message #1863345] Mon, 29 January 2024 05:56 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
I realized that this could be related to the Groovy plugin, as that's the last plugin that was updated, so I tried reverting to before that last update, and now the search dialog works again.
Re: Ctrl-h for search suddenly does nothing [message #1863363 is a reply to message #1863346] Mon, 29 January 2024 14:19 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4474
Registered: July 2009
Senior Member

Be sure to report that to https://github.com/groovy/groovy-eclipse/issues .

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Ctrl-h for search suddenly does nothing [message #1863364 is a reply to message #1863363] Mon, 29 January 2024 14:27 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
Yes, I should have mentioned that. Already done: https://github.com/groovy/groovy-eclipse/issues/1537 .
Re: Ctrl-h for search suddenly does nothing [message #1863412 is a reply to message #1863364] Wed, 31 January 2024 21:27 Go to previous messageGo to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
For the record, I now can't even repeat this when I update back to the latest Groovy plugin.
Re: Ctrl-h for search suddenly does nothing [message #1864090 is a reply to message #1863412] Thu, 14 March 2024 21:05 Go to previous message
David M. Karr is currently offline David M. KarrFriend
Messages: 807
Registered: July 2009
Senior Member
This problem returned in my 2023-12 installation, and none of the workarounds made any difference. However, installing 2024-03 did result in the symptom not appearing anymore, at least for now.
Previous Topic:Bug reporting
Next Topic:Eclipse 2024-03 Scout installed fine, but gives warning message on boot
Goto Forum:
  


Current Time: Fri Jul 19 16:00:15 GMT 2024

Powered by FUDForum. Page generated in 0.08866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top