- This topic has 1 reply, 2 voices, and was last updated 2 years, 10 months ago by support-swapna.
-
AuthorPosts
-
jorjazoParticipantPressing Control+D in an editor window logs this error in eclipse’s Error Log view:
Execution exception for: ParameterizedCommand(Command(codemix.editor.action.deleteLines,Delete Lines,
,
Category(com.genuitec.eclipse.code.codeMix,CodeMix,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@b50436b,
,,true),null) in
context chain: WorkbenchContext -> TrimmedWindowImpl (IDEWindow) Context -> PerspectiveImpl (org.eclipse.jdt.ui.JavaPerspective) Context -> PartImpl (org.eclipse.e4.ui.compatibility.editor) removeOnHide com.genuitec.eclipse.code.markdownContextStack trace:
org.eclipse.core.commands.ExecutionException: Error executing ‘codemix.editor.action.deleteLines’: java.lang.reflect.InaccessibleObjectException: Unable to make private java.util.Collections$EmptyList() accessible: module java.base does not “opens java.util” to unnamed module @6f2df0b3
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: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:580)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:647)
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:1934)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1521)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1548)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1531)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1570)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:923)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:4000)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:925)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2415)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:6840)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6147)
at org.eclipse.swt.internal.gtk3.GTK3.gtk_main_do_event(Native Method)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1562)
at org.eclipse.swt.internal.gtk3.GTK3.gtk_main_iteration_do(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4573)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1041)
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:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
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:401)
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: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.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
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.reflect.InaccessibleObjectException: Unable to make private java.util.Collections$EmptyList() accessible: module java.base does not “opens java.util” to unnamed module @6f2df0b3
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)
… 46 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private java.util.Collections$EmptyList() accessible: module java.base does not “opens java.util” to unnamed module @6f2df0b3
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181)
at com.google.gson.internal.reflect.UnsafeReflectionAccessor.makeAccessible(UnsafeReflectionAccessor.java:44)
at com.google.gson.internal.ConstructorConstructor.newDefaultConstructor(ConstructorConstructor.java:103)
at com.google.gson.internal.ConstructorConstructor.get(ConstructorConstructor.java:85)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:54)
at com.google.gson.Gson.getAdapter(Gson.java:458)
at com.google.gson.Gson.toJson(Gson.java:696)
at com.google.gson.Gson.toJsonTree(Gson.java:597)
at com.google.gson.Gson.toJsonTree(Gson.java:576)
at com.genuitec.eclipse.code.core.engine.JsonUtil.toJsonElement(JsonUtil.java:111)
at com.genuitec.eclipse.code.core.engine.SessionHandler$3.invoke(SessionHandler.java:908)
at jdk.proxy8/jdk.proxy8.$Proxy37.executeCommand(Unknown Source)
at com.genuitec.eclipse.code.core.engine.SessionHandler.executeCommand(SessionHandler.java:1324)
at com.genuitec.eclipse.code.core.engine.EngineService.executeCommand(EngineService.java:1547)
at com.genuitec.eclipse.code.ui.bindings.GenericCodeMixCommandHandler.execute(GenericCodeMixCommandHandler.java:26)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
at jdk.internal.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
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)
… 50 moreEclipse version:
Eclipse IDE for Java Developers (includes Incubating components)
Version: 2021-09 (4.21.0)
Build id: 20210910-1417Codemix core version:
Genuitec, LLC CodeMix Core 3.6.0.202007221454 com.genuitec.eclipse.code
JVM: OpenJDK 17
OS: Debian Linux 64-bit
support-swapnaModeratorHi,
Sorry that you are seeing this issue with CodeMix. Thank you for the error details.
CodeMix will work seamlessly with Java 11 in Eclipse 2021-09. We have known breaks with newer versions of Java/Eclipse. Please switch to Java 11 (edit the eclipse.ini and point the -vm to Java 11) and check if the issue still persists.Please note that CodeMix has reached its end of life and MyEclipse 2021 is the alternative. For more details, please see: https://www.genuitec.com/products/codemix/end-of-life-notice/
We have a free, 30-day trail for MyEclipse. If it fits your requirements, we can convert your existing CodeMix license to a MyEclipse license at no extra cost.
Apologies for inconvenience caused. Please let us know if you have any further questions.
–Swapna
Genuitec Support -
AuthorPosts