I tried upgrading Kotlin to 2.0.10 (from 1.somethi...
# build-tools
r
I tried upgrading Kotlin to 2.0.10 (from 1.something), and now our Maven builds are sporadically failing with this. Anyone know what this is?
Copy code
[INFO] --- kotlin-maven-plugin:2.0.10:compile (compile) @ omnisee ---
[WARNING] Using experimental Kotlin incremental compilation
[ERROR] Incremental compilation failed: java.lang.NegativeArraySizeException
java.io.IOException: java.lang.NegativeArraySizeException
	at com.intellij.util.io.IOUtil.readString(IOUtil.java:48)
	at org.jetbrains.kotlin.incremental.storage.StringExternalizer.read(externalizers.kt:225)
	at org.jetbrains.kotlin.incremental.storage.FileDescriptor.read(FileToPathConverter.kt:37)
	at org.jetbrains.kotlin.incremental.storage.FileDescriptor.read(FileToPathConverter.kt:30)
Turing off the incremental compilation setting in
pom.xml
seems to have fixed the issue, but I didn't need to do that with Kotlin 1.x.
t
please create a new Kotlin issue for this with repro if possible