Bug #3474
Charts, Export, Ubuntu, graphic contextual menu 'export view' broken
Statut: | New | Début: | 20/10/2023 | |
---|---|---|---|---|
Priorité: | Urgent | Echéance: | ||
Assigné à: | - | % réalisé: | 0% |
|
Catégorie: | Charts | Temps passé: | - | |
Version cible: | TXM 0.8.4 |
Description
3) graphic contextual menu 'export view' broken
- in an AFC factorial plane, the 'export view' contextual menu doesn't do anything
Stacktrace:
!ENTRY org.eclipse.e4.ui.workbench 4 0 2023-10-20 17:39:28.626 !MESSAGE Command 'ExportChartEditorView' failed !STACK 0 org.eclipse.core.commands.ExecutionException: Error executing 'ExportChartEditorView': java.lang.NullPointerException: Cannot invoke "org.txm.chartsengine.rcp.editors.ChartEditor.getEditorSupportedExportFileFormats()" because "chartEditor" is null at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:170) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:485) ... at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) Caused by: org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException: Cannot invoke "org.txm.chartsengine.rcp.editors.ChartEditor.getEditorSupportedExportFileFormats()" because "chartEditor" 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:317) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:251) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156) ... 34 more Caused by: java.lang.NullPointerException: Cannot invoke "org.txm.chartsengine.rcp.editors.ChartEditor.getEditorSupportedExportFileFormats()" because "chartEditor" is null at org.txm.chartsengine.rcp.handlers.ExportChartEditorView.execute(ExportChartEditorView.java:83) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58) ... 38 more
Solution¶
The SWTChartsComponentsProvider.getActivechartEditor doesn't find the editor because it has lost the focus when the contextual menu is open.
Historique
#1 Mis à jour par Matthieu Decorde il y a presque 2 ans
- Sujet changé de Charts, Export, graphic contextual menu 'export view' broken à Charts, Export, Ubuntu, graphic contextual menu 'export view' broken
- Description mis à jour (diff)
#2 Mis à jour par Matthieu Decorde il y a presque 2 ans
- Description mis à jour (diff)