Skip to content

Crashing on OpenJDK 25.0.2 #144

@pettermoe95

Description

@pettermoe95

I get some different errors while using the LSP in both vscode and nvim. I'm not sure what to make of it. I am running a project with multiple modules, each containing their own build.gradle.kts. Any help is appreciated as I really want to be able to write kotlin code using my nvim setup. Let me know if you want some more information.

Error1:

2026-02-03 12:53:05,341 [      0] SEVERE - #o.j.k.a.l.l.a.f.d.LLFirDiagnosticVisitor$Companion - The diagnostic collector has been interrupted by an exception. The result may be incomplete
Error while resolving org.jetbrains.kotlin.fir.declarations.impl.FirFileImpl 
from RAW_FIR to ANNOTATION_ARGUMENTS
current declaration phase RAW_FIR
origin: Source
session: class org.jetbrains.kotlin.analysis.low.level.api.fir.sessions.LLFirSourcesSession
module data: class org.jetbrains.kotlin.analysis.low.level.api.fir.projectStructure.LLFirModuleData
KaModule: class org.jetbrains.kotlin.idea.base.fir.projectStructure.modules.source.KaSourceModuleImpl
platform: JVM (1.8)

Error2

2026-02-03 12:51:23,894 [  31668] SEVERE - kotlin inlays - Unable to provide inlay hint for DOT_QUALIFIED_EXPRESSION
Unable to provide inlay hint for DOT_QUALIFIED_EXPRESSION
org.jetbrains.kotlin.utils.KotlinExceptionWithAttachments: Unable to provide inlay hint for DOT_QUALIFIED_EXPRESSION
	at org.jetbrains.kotlin.idea.k2.codeinsight.hints.AbstractKtInlayHintsProvider$createCollector$1.collectFromElement(AbstractKtInlayHintsProvider.kt:48)
	at com.jetbrains.ls.api.features.impl.common.inlayHints.LSInlayHintsCommonImpl.collectHints(LSInlayHintsCommonImpl.kt:131)
	at com.jetbrains.ls.api.features.impl.common.inlayHints.LSInlayHintsCommonImpl.access$collectHints(LSInlayHintsCommonImpl.kt:38)
	at com.jetbrains.ls.api.features.impl.common.inlayHints.LSInlayHintsCommonImpl$getInlayHints$1$1.invokeSuspend$lambda$0(LSInlayHintsCommonImpl.kt:69)
	at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:111)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable$lambda$0(InternalReadAction.kt:101)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0$0$0(cancellableReadAction.kt:32)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:902)
	at com.jetbrains.analyzer.bootstrap.AnalyzerApplication.tryRunReadAction(AnalyzerApplication.kt:87)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0$0(cancellableReadAction.kt:30)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:152)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$0(cancellableReadAction.kt:28)
	at com.intellij.concurrency.ThreadContext.installThreadContext(threadContext.kt:305)
	at com.intellij.concurrency.ThreadContext.installThreadContext$default(threadContext.kt:303)
	at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:24)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:100)
	at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:86)
	at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:73)
	at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:15)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invokeSuspend(InternalReadAction.kt:52)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
	at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$6.invoke(InternalReadAction.kt)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:67)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:50)
	at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:66)
	at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15)
	at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:60)
	at com.intellij.openapi.application.CoroutinesKt.readAction(coroutines.kt:27)
	at com.jetbrains.ls.api.features.impl.common.inlayHints.LSInlayHintsCommonImpl$getInlayHints$1$1.invokeSuspend(LSInlayHintsCommonImpl.kt:61)
	at com.jetbrains.ls.api.features.impl.common.inlayHints.LSInlayHintsCommonImpl$getInlayHints$1$1.invoke(LSInlayHintsCommonImpl.kt)
	at com.jetbrains.ls.api.features.impl.common.inlayHints.LSInlayHintsCommonImpl$getInlayHints$1$1.invoke(LSInlayHintsCommonImpl.kt)
	at com.jetbrains.ls.snapshot.api.impl.core.LSServerAnalyzerImpl$withAnalysisContextImpl$2.invokeSuspend(LSServerAnalyzerImpl.kt:249)
	at com.jetbrains.ls.snapshot.api.impl.core.LSServerAnalyzerImpl$withAnalysisContextImpl$2.invoke(LSServerAnalyzerImpl.kt)
	at com.jetbrains.ls.snapshot.api.impl.core.LSServerAnalyzerImpl$withAnalysisContextImpl$2.invoke(LSServerAnalyzerImpl.kt)
	at com.jetbrains.ls.snapshot.api.impl.core.LSServerAnalyzerImplKt$createServerStarterAnalyzerImpl$1$start$2$serverContext$1$withServer$2$1$2$3$2$server1$1$use$2$2.invokeSuspend(LSServerAnalyzerImpl.kt:182)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions