ZacSweers/redacted-compiler-plugin

Kotlin 2.1.0-Beta1: NoSuchMethodError

sureshg opened this issue · 0 comments

Got this error after upgrading to 2.1.0-Beta1. I know 2.1.0-Beta1 is released just a few hours ago, but posting it here for some visibility

Caused by: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.fir.symbols.impl.FirClassifierSymbol org.jetbrains.kotlin.fir.resolve.providers.FirSymbolProviderKt.toSymbol(org.jetbrains.kotlin.name.ClassId, org.jetbrains.kotlin.fir.FirSession)'
        at dev.zacsweers.redacted.compiler.fir.FirRedactedDeclarationChecker.check$lambda$1(FirRedactedExtensionRegistrar.kt:97)
        at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81)
        at dev.zacsweers.redacted.compiler.fir.FirRedactedDeclarationChecker.check$lambda$2(FirRedactedExtensionRegistrar.kt:94)
        at dev.zacsweers.redacted.compiler.fir.FirRedactedDeclarationChecker.check(FirRedactedExtensionRegistrar.kt:114)
        at dev.zacsweers.redacted.compiler.fir.FirRedactedDeclarationChecker.check(FirRedactedExtensionRegistrar.kt:82)
        at org.jetbrains.kotlin.fir.analysis.collectors.components.DeclarationCheckersDiagnosticComponent.check(DeclarationCheckersDiagnosticComponent.kt:133)
        at org.jetbrains.kotlin.fir.analysis.collectors.components.DeclarationCheckersDiagnosticComponent.visitRegularClass(DeclarationCheckersDiagnosticComponent.kt:57)
        at org.jetbrains.kotlin.fir.analysis.collectors.components.DeclarationCheckersDiagnosticComponent.visitRegularClass(DeclarationCheckersDiagnosticComponent.kt:19)
        at org.jetbrains.kotlin.fir.declarations.FirRegularClass.accept(FirRegularClass.kt:48)