Open aleksandr-vin opened 9 months ago
This is likely an underlying ktlint issue. Is it this issue by chance? https://github.com/pinterest/ktlint/issues/2535
Does not look like that. The one you're referencing is caused by
Caused by: java.lang.NullPointerException: Cannot invoke "org.jetbrains.kotlin.com.intellij.psi.impl.source.codeStyle.IndentHelper.getIndent(org.jetbrains.kotlin.com.intellij.psi.PsiFile, org.jetbrains.kotlin.com.intellij.lang.ASTNode)" because the return value of "org.jetbrains.kotlin.com.intellij.psi.impl.source.codeStyle.IndentHelper.getInstance()" is null
and current one is
Caused by: java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.psi.psiUtil.PsiUtilsKt.checkDecompiledText(org.jetbrains.kotlin.com.intellij.psi.PsiElement)'
Check out this Slack discussion:
https://kotlinlang.slack.com/archives/CKS3XG0LS/p1713411650318459
I've tried running
./gradlew ktlintCheck
and got this error:Versions
Kotlin versions tried:
The run with stacktrace: