- This topic has 4 replies, 3 voices, and was last updated 4 years, 9 months ago by Aaron Lara.
-
AuthorPosts
-
jensseidelParticipantHi,
Version: 1.11.0.201909171704
Eclipse platform: 4.13.0.v20190916-1323I very often get the following exception with the inline search dialog:
Warning: Nashorn engine is planned to be removed from a future JDK release
java.lang.NullPointerException
at com.genuitec.eclipse.inlinesearch.editor.findreplace.FindReplaceBar.color(FindReplaceBar.java:393)
at com.genuitec.eclipse.inlinesearch.editor.findreplace.FindReplaceBar.<init>(FindReplaceBar.java:383)
at com.genuitec.eclipse.inlinesearch.core.InlineSearchManager.showEditorFindReplaceBar(InlineSearchManager.java:109)
at com.genuitec.eclipse.inlinesearch.handlers.ShowFindReplaceBarHandler.execute(ShowFindReplaceBarHandler.java:52)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:95)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:498)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
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:584)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:653)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:443)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$2(KeyBindingDispatcher.java:386)
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:1836)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1431)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1414)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1455)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:819)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:4012)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:857)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2243)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:6846)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5842)
at org.eclipse.swt.internal.gtk.GTK._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.GTK.gtk_main_do_event(GTK.java:4154)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1474)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1603)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4404)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
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:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
support-swapnaModeratorjensseidel,
Sorry that you are seeing this issue.
1. In which editor are you seeing this problem? Does the Inline Search dialog work in other editors like Java/HTML?
2. Any other third party plugins installed? Please share the details of the installed plugins.
3. Also share with us the .log file located in the workspace dir/.metadata/.log (change the extension to .txt and attach it here)Apologies for inconvenience caused.
–Swapna
Genuitec Support
jensseidelParticipantI find the errors only in the CDT C++ code editor. Haven’t used others.
I attached my systems settings including the plugin list. Nearly everything (except pydev) is from stock Eclipse.
Jens
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHi,
Thank you for the logs. I have filed a report with the dev team to fix the NPE.
I did run few tests in C++ editor in Eclipse C/C++ IDE, but could not replicate the NPE.
At what point are you seeing the NPE? Is it after using the Inline Search dialog for sometime or during any specific action with the dialog?–Swapna
Genuitec Support
Aaron LaraMemberI’m happy to announce that DevStyle 2020.3.24 is out. You should no longer see that error on this update.
The update should be picked up automatically on the restart of Eclipse, but if it’s not you can try
Help > Check for updates....
Cheers!
Aaron Lara -
AuthorPosts