I'm getting an IDE error `java.lang.RuntimeExcepti...
# intellij
r
I'm getting an IDE error
java.lang.RuntimeException: Broken stub format, most likely version of kotlin.FILE (kotlin.FILE) was not updated after serialization changes
just all the time - stacktrace in thread. Anyone know what I might need to delete to fix it?
Untitled
I'm a bit lost as to where the issue is, but as the stack contains
com.intellij.openapi
,
org.jetbrains.plugins.gradle
,
org.jetbrains.plugins.groovy
I'm guessing it's actually not so much an issue with IntelliJ's Kotlin support / plugins as a problem with one of those plugins that happens to have been written in Kotlin... so unsure if this is not kotlin but kotlin colored or not!
d
You might try invalidating cache and restarting
v
what is the version of IntelliJ ?
r
IntelliJ IDEA 2024.3.2.1 (Ultimate Edition) Build #IU-243.23654.153, built on January 23, 2025 Licensed to Robert Elliot Subscription is active until September 19, 2025. Runtime version: 21.0.5+8-b631.30 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 15.2 GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 8192M Cores: 10 Metal Rendering is ON Registry: debugger.new.tool.window.layout=true vcs.log.index.enable=true ide.experimental.ui=true jvm.dfa.analysis.ui.security.analysis.window.was.shown=true scala.erase.compiler.process.jdk.once=false Non-Bundled Plugins: com.jetbrains.plugins.ini4idea (243.23654.168) org.jetbrains.plugins.go-template (243.21565.122) org.jetbrains.plugins.stylus (243.23654.44) aws.toolkit.core (3.50-243) com.github.b3er.idea.plugins.arc.browser (0.32) com.jetbrains.space (243.23654.19) dev.meanmail.plugin.nginx-intellij-plugin (2024.5.1) PythonCore (243.23654.153) Pythonid (243.23654.153) com.intellij.wiremock (243.22562.13) com.intellij.mermaid (0.0.24+IJ.243) com.thoughtworks.gauge (243.23654.154) kotest-plugin-intellij (1.3.90-2024.3.1) deno (243.22562.13) aws.toolkit (3.50-243) com.intellij.lang.jsgraphql (243.22562.13) com.dmarcotte.handlebars (243.21565.122) com.emberjs.experimental (2024.3.5) org.intellij.scala (2024.3.35) mobi.hsz.idea.gitignore (4.5.4) ru.adelf.idea.dotenv (2024.3) Kotlin: 243.23654.153-IJ
v
does cache invalidation help you or not ?
r
Doing the whole lot on repair IDE did seem to fix it, thanks for pushing me to do it, sorry for bothering you
thank you color 1
d
It was no bother. Glad it worked!