You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
I tried running the example from http://eclim.org/gettingstarted.html. Saving the file after System. didn't do anything.
I then checked it once again with :Validate and it showed an error. In eclim logs i found the following:
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.Object java.io.Reader.lock accessible: module java.base does not "opens java.io" to unnamed module @3c380bd8
at org.eclim.util.file.FileOffsets.compile(FileOffsets.java:69) ~[eclim.jar:?]
at org.eclim.plugin.jdt.command.src.SrcUpdateCommand.execute(SrcUpdateCommand.java:89) ~[?:?]
at org.eclim.command.Main$1.run(Main.java:100) ~[eclim.jar:?]
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) ~[org.eclipse.swt.gtk.linux.x86_64_3.116.100.v20210602-2209.jar:?]
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) ~[org.eclipse.swt.gtk.linux.x86_64_3.116.100.v20210602-2209.jar:?]
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:5096) ~[org.eclipse.swt.gtk.linux.x86_64_3.116.100.v20210602-2209.jar:?]
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4602) ~[org.eclipse.swt.gtk.linux.x86_64_3.116.100.v20210602-2209.jar:?]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) ~[org.eclipse.e4.ui.workbench.swt_0.16.100.v20210315-1604.jar:?]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) ~[org.eclipse.core.databinding.observable_1.10.0.v20200730-0848.jar:?]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) ~[org.eclipse.e4.ui.workbench.swt_0.16.100.v20210315-1604.jar:?]
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) ~[org.eclipse.e4.ui.workbench_1.13.0.v20210521-0741.jar:?]
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) ~[org.eclipse.ui.workbench_3.122.200.v20210506-1640.jar:?]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) [org.eclipse.core.databinding.observable_1.10.0.v20200730-0848.jar:?]
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4602) ~[org.eclipse.swt.gtk.linux.x86_64_3.116.100.v20210602-2209.jar:?]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157) ~[org.eclipse.e4.ui.workbench.swt_0.16.100.v20210315-1604.jar:?]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) ~[org.eclipse.core.databinding.observable_1.10.0.v20200730-0848.jar:?]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) ~[org.eclipse.e4.ui.workbench.swt_0.16.100.v20210315-1604.jar:?]
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) ~[org.eclipse.e4.ui.workbench_1.13.0.v20210521-0741.jar:?]
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) ~[org.eclipse.ui.workbench_3.122.200.v20210506-1640.jar:?]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) [org.eclipse.core.databinding.observable_1.10.0.v20200730-0848.jar:?]
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) [org.eclipse.ui.workbench_3.122.200.v20210506-1640.jar:?]
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) [org.eclipse.ui.workbench_3.122.200.v20210506-1640.jar:?]
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) [org.eclipse.ui.ide.application_1.4.100.v20210506-1050.jar:?]
at org.eclim.eclipse.EclimApplication.start(EclimApplication.java:130) [eclim.jar:?]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) [org.eclipse.equinox.app_1.5.100.v20210212-1143.jar:?]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) [org.eclipse.osgi_3.16.300.v20210525-1715.jar:?]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) [org.eclipse.osgi_3.16.300.v20210525-1715.jar:?]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) [org.eclipse.osgi_3.16.300.v20210525-1715.jar:?]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) [org.eclipse.osgi_3.16.300.v20210525-1715.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:567) ~[?:?]
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654) [org.eclipse.equinox.launcher_1.6.200.v20210416-2027.jar:?]
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) [org.eclipse.equinox.launcher_1.6.200.v20210416-2027.jar:?]
at org.eclipse.equinox.launcher.Main.run(Main.java:1462) [org.eclipse.equinox.launcher_1.6.200.v20210416-2027.jar:?]
at org.eclipse.equinox.launcher.Main.main(Main.java:1435) [org.eclipse.equinox.launcher_1.6.200.v20210416-2027.jar:?]
Caused by: java.lang.RuntimeException: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.Object java.io.Reader.lock accessible: module java.base does not "opens java.io" to unnamed module @3c380bd8
at org.eclim.util.file.FileOffsets.compileOffsets(FileOffsets.java:117) ~[eclim.jar:?]
at org.eclim.util.file.FileOffsets.compile(FileOffsets.java:82) ~[eclim.jar:?]
at org.eclim.util.file.FileOffsets.compile(FileOffsets.java:67) ~[eclim.jar:?]
... 29 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.Object java.io.Reader.lock accessible: module java.base does not "opens java.io" to unnamed module @3c380bd8
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357) ~[?:?]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) ~[?:?]
at java.lang.reflect.Field.checkCanSetAccessible(Field.java:177) ~[?:?]
at java.lang.reflect.Field.setAccessible(Field.java:171) ~[?:?]
at org.eclim.util.file.BufferedReader.getDeclaredField(BufferedReader.java:151) ~[eclim.jar:?]
at org.eclim.util.file.BufferedReader.<init>(BufferedReader.java:139) ~[eclim.jar:?]
at org.eclim.util.file.BufferedReader.<init>(BufferedReader.java:123) ~[eclim.jar:?]
at org.eclim.util.file.FileOffsets.compileOffsets(FileOffsets.java:95) ~[eclim.jar:?]
at org.eclim.util.file.FileOffsets.compile(FileOffsets.java:82) ~[eclim.jar:?]
at org.eclim.util.file.FileOffsets.compile(FileOffsets.java:67) ~[eclim.jar:?]
... 29 more
java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.lang.Object java.io.Reader.lock accessible: module java.base does not "opens java.io" to unnamed module
You should be able to fix that error by editing your eclipse.ini file and adding the following line:
--add-opens=java.base/java.io=ALL-UNNAMED
The location of your eclipse.ini file depends on what OS/platform you’re on, and where you have Eclipse installed.
I tried running the example from http://eclim.org/gettingstarted.html. Saving the file after
System.
didn't do anything.I then checked it once again with :Validate and it showed an error. In eclim logs i found the following:
I'm running Arch Linux 5.13.4-arch1-1. Eclipse was installed from AUR: https://aur.archlinux.org/packages/eclipse-java-bin/
Java version:
And I'm running nvim can this be an issue?
All other features seem to work fine.
UPD: tried on Vim 8.2 -- got the same
The text was updated successfully, but these errors were encountered: