Hi, has anyone seen this error message before? ```...
# gradle
c
Hi, has anyone seen this error message before?
Copy code
error message: java.lang.NoClassDefFoundError: org.jetbrains.kotlin.resolve.calls.smartcasts.DataFlowInfo (initialization failure)
        at java.base/java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:156)
        at org.jetbrains.kotlin.resolve.LazyTopDownAnalyzer.analyzeDeclarations$default(LazyTopDownAnalyzer.kt:61)
        at org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(TopDownAnalyzerFacadeForJVM.kt:119)
        ...
Caused by: java.lang.NoClassDefFoundError: javaslang.λ
        at java.base/java.lang.ClassLoader.defineClassImpl(Native Method)
        ...
Caused by: java.lang.ClassNotFoundException: javaslang.λ
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:827)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1095)
        ... 74 more
I've seen it on a MacOS running Gradle 7.2 and 8.3, it happens when compiling
buildSrc
. After deleting
~/.gradle
, the project works well, so I don't really have anything to reproduce with to create an issue. If there is already an issue somewhere, maybe I can add some information to it?
v
As it is happening within the Kotlin compiler code, I guess that is a topic for the JetBrains tracker.
306 Views