It crash after Restarting Kotlin Language Server. #561
Unanswered
BABUGANESH-R
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
why crash Kotlin Language Server?
Kotlin Language Server : V1.3.9
Apache Maven : V3.6.3
Gradle : V5.6.2
Open JDK : V13.0.1
The server crashes and gives this error
java.util.concurrent.CompletionException: com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.kotlin.psi.KtFile #kotlin because: project is disposed: {ALL_SCOPE_KEY=com.intellij.psi.search.EverythingGlobalScope@5, AppendJavaSourceRootsHandlerKey=(kotlin.collections.List<java.io.File>) -> kotlin.Unit} invalidated at: no info java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base/java.lang.Thread.run(Thread.java:830) Caused by: com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.kotlin.psi.KtFile #kotlin because: project is disposed: {ALL_SCOPE_KEY=com.intellij.psi.search.EverythingGlobalScope@5, AppendJavaSourceRootsHandlerKey=(kotlin.collections.List<java.io.File>) -> kotlin.Unit} invalidated at: no info com.intellij.psi.impl.source.PsiFileImpl.getText(PsiFileImpl.java:306) org.javacs.kt.SourcePath$SourceFile.parseIfChanged(SourcePath.kt:79) org.javacs.kt.SourcePath$SourceFile.compileIfChanged(SourcePath.kt:92) org.javacs.kt.SourcePath.currentVersion(SourcePath.kt:185) org.javacs.kt.KotlinProtocolExtensionService$mainClass$1.invoke(KotlinProtocolExtensionService.kt:38) org.javacs.kt.KotlinProtocolExtensionService$mainClass$1.invoke(KotlinProtocolExtensionService.kt:27) org.javacs.kt.util.AsyncExecutor.compute$lambda$2(AsyncExecutor.kt:19) java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1771)
KLS crashes after rpc connections
Beta Was this translation helpful? Give feedback.
All reactions