2024-03 useless because can no longer bring up search dialog [message #1865097] |
Fri, 26 April 2024 05:10 |
David M. Karr Messages: 813 Registered: July 2009 |
Senior Member |
|
|
For quite a while, I've had a problem with Eclipse 2024-03 that makes severely handicapped. For some reason, some time after a workspace is created, the Search Dialog simply stops appearing. Usually, I can use a workspace for a week or so before it gets into this state, and it never comes out of it. My only workaround so far has been to create a new workspace. This is somewhat annoying, as I have dozens of git repos and projects associated with those repos, although I'm now getting used to the keyboard shortcuts to import a repo in a particular way. Nevertheless, it is quite painful to have to do this every week or so.
However, it's now gotten much worse. I only just created a new workspace today. Search was working earlier today, but now it's gone again. This time it only lasted a few hours.
I do find that I have not seen this issue in 2023-09. I have a feeling I'm going to be stuck with that version for quite a while.
In the error log, the indication that this is happening is shown from the following stack trace:
!ENTRY org.eclipse.e4.ui.workbench 4 0 2024-04-25 22:00:32.330
!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 (pl_idp_ms.groovy) Context
!STACK 0
org.eclipse.core.commands.ExecutionException: Error executing 'org.eclipse.search.ui.openSearchDialog': java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.IEditorPart.getAdapter(java.lang.Class)" because "editor" is null
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:204)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:308)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:569)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:644)
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:1287)
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:3658)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1042)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:152)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:639)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:546)
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:143)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
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: java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.IEditorPart.getAdapter(java.lang.Class)" because "editor" is null
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: java.lang.NullPointerException: Cannot invoke "org.eclipse.ui.IEditorPart.getAdapter(java.lang.Class)" because "editor" is null
at org.eclipse.search.internal.ui.ScopePart.selectedResourcesFromEditors(ScopePart.java:247)
at org.eclipse.search.internal.ui.ScopePart.createPart(ScopePart.java:457)
at org.eclipse.search.internal.ui.SearchDialog.createPageControl(SearchDialog.java:763)
at org.eclipse.search.internal.ui.SearchDialog.createPageArea(SearchDialog.java:425)
at org.eclipse.search.internal.ui.util.ExtendedDialogWindow.createDialogArea(ExtendedDialogWindow.java:142)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:766)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1092)
at org.eclipse.search.internal.ui.SearchDialog.create(SearchDialog.java:290)
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:285)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:98)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
I also created the following issue for this, although there hasn't bee much useful response:
https://github.com/eclipse-platform/eclipse.platform/issues/1151
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07892 seconds