Kotlin / Kotlin/dataframe

Compiler plugin crash when updating to kotlin `2.3.x`

Open
#1,723 20 comments 0 reactions 1 assignee View on GitHub

@koperagen is already working on this.

Since Mar 3, 2026.

bug Compiler plugin
Dominant language
Kotlin
Stars
1.1k
Forks
83
Avg merge
4d 12h
Merged PRs (30d)
30

Description

Hello,

When trying to update my project which uses dataframe to kotlin 2.3.0 and 2.3.10, I encountered a FileAnalysisException from the dataframe compiler plugin.

I found those related issues talking about K2 incompatibility: https://github.com/Kotlin/dataframe/issues/1650 & https://github.com/Kotlin/dataframe/issues/1445.

I tried setting the kotlin.reflect.jvm.useK1Implementation system property using the following but it didn't work:

tasks {
  compileKotlin {
    dependsOn(generateOpenAPICode, generateKongBack)
    kotlinDaemonJvmArguments.add("-Dkotlin.reflect.jvm.useK1Implementation=true")
  }
}

Could you help me on how to disable K2 in my project to dataframe compiler project doesn't crash?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.