You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.IllegalStateException: superName must not be null
at kotlinx.validation.api.KotlinSignaturesLoadingKt$loadApiFromJvmClasses$4.invoke(KotlinSignaturesLoading.kt:56)
at kotlinx.validation.api.KotlinSignaturesLoadingKt$loadApiFromJvmClasses$4.invoke(KotlinSignaturesLoading.kt)
at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:172)
at kotlin.collections.CollectionsKt___CollectionsKt.toCollection(_Collections.kt:1206)
at kotlin.collections.CollectionsKt___CollectionsKt.toMutableList(_Collections.kt:1239)
at kotlin.collections.CollectionsKt___CollectionsKt.sortedWith(_Collections.kt:988)
at kotlinx.validation.api.KotlinSignaturesLoadingKt.loadApiFromJvmClasses(KotlinSignaturesLoading.kt:162)
at kotlinx.validation.api.KotlinSignaturesLoadingKt.loadApiFromJvmClasses$default(KotlinSignaturesLoading.kt:20)
at kotlinx.validation.KotlinApiBuildTask.generate(KotlinApiBuildTask.kt:49)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
Reproducer: Kotlin/kotlinx.serialization#1624
Exception:
Cause:
https://github.com/Kotlin/binary-compatibility-validator/blob/master/src/main/kotlin/api/KotlinSignaturesLoading.kt#L41
superName
is null formodule-info
class. ASM and validator do not expect that.Possible solutions: make
superName
nullable or just filter out such classes.Note that
visibilityFilter
is actually not used anywhere, filtering by fq name (ignoredClasses
) happens after loading ASM.The text was updated successfully, but these errors were encountered: