- This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by support-swapna.
-
AuthorPosts
-
beleta1ParticipantI am getting this error when trying to customize any Eclipse perspective (Window/Perspective/Customize Perspective…):
eclipse.buildId=4.11.0.I20190307-0500 java.version=1.8.0_201 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_ES Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -clean org.eclipse.ui Error Wed May 15 12:46:53 CEST 2019 Plug-in 'com.genuitec.eclipse.code' contributed an invalid Menu Extension (Path: 'help/com.eclipse.genuitec.codemixgroup' is invalid): com.genuitec.codemix.upgradelicenseaction
and
eclipse.buildId=4.11.0.I20190307-0500 java.version=1.8.0_201 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_ES Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -clean org.eclipse.ui Error Wed May 15 12:46:53 CEST 2019 Plug-in 'com.genuitec.eclipse.code' contributed an invalid Menu Extension (Path: 'help/com.eclipse.genuitec.codemixgroup' is invalid): com.genuitec.codemix.openforumaction
And this results in:
eclipse.buildId=4.11.0.I20190307-0500 java.version=1.8.0_201 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_ES Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -clean org.eclipse.ui.workbench Error Wed May 15 12:46:55 CEST 2019 Error executing 'org.eclipse.ui.window.customizePerspective': java.lang.NullPointerException org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:68) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:320) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:254) 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:497) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:490) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213) at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:403) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:154) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:568) at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062) 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:566) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155) 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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:661) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597) at org.eclipse.equinox.launcher.Main.run(Main.java:1476) at org.eclipse.equinox.launcher.Main.main(Main.java:1449) Caused by: java.lang.NullPointerException at org.jkiss.dbeaver.ui.actions.datasource.SelectActiveDataSourceHandler.updateElement(SelectActiveDataSourceHandler.java:98) at org.eclipse.ui.internal.handlers.HandlerProxy.updateElement(HandlerProxy.java:454) at org.eclipse.ui.internal.handlers.E4HandlerProxy.updateElement(E4HandlerProxy.java:124) at org.eclipse.ui.internal.WorkbenchHandlerServiceHandler.updateElement(WorkbenchHandlerServiceHandler.java:46) at org.eclipse.ui.internal.commands.CommandService.registerElement(CommandService.java:332) at org.eclipse.ui.internal.commands.CommandService.registerElementForCommand(CommandService.java:312) at org.eclipse.ui.internal.commands.CommandService.registerElementForUpdate(CommandService.java:398) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.postMenuFill(HandledContributionItem.java:198) at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.fill(AbstractContributionItem.java:266) at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:731) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:813) at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:935) at org.eclipse.jface.action.MenuManager.update(MenuManager.java:833) at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:935) at org.eclipse.ui.internal.dialogs.cpd.CustomizePerspectiveDialog.loadMenuAndToolbarStructure(CustomizePerspectiveDialog.java:1648) at org.eclipse.ui.internal.dialogs.cpd.CustomizePerspectiveDialog.<init>(CustomizePerspectiveDialog.java:536) at org.eclipse.ui.internal.WorkbenchWindow.createCustomizePerspectiveDialog(WorkbenchWindow.java:3074) at org.eclipse.ui.internal.WorkbenchPage.editActionSets(WorkbenchPage.java:1990) at org.eclipse.ui.internal.handlers.EditActionSetsHandler.execute(EditActionSetsHandler.java:40) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58) ... 38 more
and the perspective customization dialog not being opened.
- This topic was modified 5 years, 6 months ago by beleta1.
support-swapnaModeratorbeleta1,
Sorry that you are seeing this issue. I see some of the reported errors (not the NullPointerException) at my end but the Customize Perspective dialog opens fine and I could make changes to it.
Are you seeing this problem with any particular perspective? I checked with Angular, JavaEE,Java, Java Debug and Team Synchronizing perspectives.
If possible, delete the contents of the .log file which is located at workspace dir/.metadata/.log, restart the IDE, replicate the problem with the customize perspective and send us the complete log file (save it as .txt and attach it) along with the perspective details which is currently active in the IDE.
Apologies for inconvenience caused. Thank you for reporting it.
–Swapna
Genuitec Support
beleta1ParticipantI am not sure that Codemix is the culprit because I removed the extension points but the error still shows.
support-swapnaModeratorbeleta,
The stacktrace for NPE points to DBeaver related code. If you have installed any third party plugin related to DBeaver, you can recheck.
Regarding the ‘invalid menu extension’ error from CodeMix, I have filed a bug report for the dev team to look into it.–Swapna
Genuitec Support -
AuthorPosts