How to fix error "Unexpected failure during lint analysis. StackOverflowError"

Viewed 298

After updating lint to version 7.0.2. I get an error in task
app:lintDebug
Error: Unexpected failure during lint analysis of SomeClass.kt (this is a bug in lint or one of the libraries it depends on) and in stack trace I can see the error

Stack: StackOverflowError:KotlinUMethod$Companion.access$getKotlinMemberOrigin(KotlinUMethod.kt:129)?KotlinUMethod.<init>(KotlinUMethod.kt:38)?KotlinUMethod$Companion.create(KotlinUMethod.kt:147)?KotlinConverter$convertDeclaration$5$1.invoke(KotlinUastLanguagePlugin.kt:538)?KotlinConverter$convertDeclaration$5$1.invoke(KotlinUastLanguagePlugin.kt:200)?KotlinConverter$convertDeclaration$1$1.invoke(KotlinUastLanguagePlugin.kt:517)?KotlinConverter$convertDeclaration$1$1.invoke(KotlinUastLanguagePlugin.kt:200)?KotlinConverter.convertDeclaration$kotlin_uast_uast_kotlin(KotlinUastLanguagePlugin.kt:861)

Somebody know the solution for this problem?

0 Answers
Related