I updated the kotlin plugin and buildship plugin today for my eclipse 2019-09 R (4.13.0) installation and now i am getting the following error during “Initializing Java Tooling”. I have the exact same unmodified kotlin gradle project open as before i updated the plugins and did not have this problem before.
java.lang.StackOverflowError
at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at com.intellij.util.pico.DefaultPicoContainer.getService(DefaultPicoContainer.java:201)
at com.intellij.mock.MockComponentManager.getService(MockComponentManager.java:99)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:22)
at org.jetbrains.kotlin.load.kotlin.VirtualFileFinderFactory$SERVICE.getInstance(VirtualFileFinderFactory.kt:30)
at org.jetbrains.kotlin.core.resolve.lang.kotlin.EclipseVirtualFileFinderFactory.create(EclipseVirtualFileFinder.kt:139)
at org.jetbrains.kotlin.core.resolve.lang.kotlin.EclipseVirtualFileFinderFactory.create(EclipseVirtualFileFinder.kt:139)
at org.jetbrains.kotlin.core.resolve.lang.kotlin.EclipseVirtualFileFinderFactory.create(EclipseVirtualFileFinder.kt:139)
at
And a few hundred more of the same line.
I get a similar error if i try to rebuild the project:
Background Indexer Crash Recovery
java.lang.StackOverflowError
at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at com.intellij.util.pico.DefaultPicoContainer.getService(DefaultPicoContainer.java:201)
at com.intellij.mock.MockComponentManager.getService(MockComponentManager.java:99)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:22)
at org.jetbrains.kotlin.load.kotlin.VirtualFileFinderFactory$SERVICE.getInstance(VirtualFileFinderFactory.kt:30)
at org.jetbrains.kotlin.core.resolve.lang.kotlin.EclipseVirtualFileFinderFactory.create(EclipseVirtualFileFinder.kt:139)
at org.jetbrains.kotlin.core.resolve.lang.kotlin.EclipseVirtualFileFinderFactory.create(EclipseVirtualFileFinder.kt:139)
The project in question can be found at GitHub - exuvo/Aurora-J .
-Edit-
I reverted the plugin back to 0.8.19 (from 0.8.20) and now it works again so it is not the project itself that is wrong.