spxbhuhb / adaptive

Consolidated full-stack application development library for Kotlin
https://adaptive.fun
Apache License 2.0
3 stars 0 forks source link

[plugin] AdatSuperTypeGenerator error #62

Open toth-istvan-zoltan opened 2 months ago

toth-istvan-zoltan commented 2 months ago
java.lang.AssertionError: You should use ConeClassLookupTagWithFixedSymbol for local <local>/Filter!
    at org.jetbrains.kotlin.fir.symbols.impl.ConeClassLikeLookupTagImpl.<init>(ConeClassLikeLookupTagImpl.kt:19)
    at org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt.toLookupTag(TypeConstructionUtils.kt:37)
    at org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt.constructClassLikeType(TypeConstructionUtils.kt:45)
    at org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt.constructClassLikeType$default(TypeConstructionUtils.kt:40)
    at fun.adaptive.kotlin.adat.fir.AdatSupertypeGenerator.computeAdditionalSupertypes(AdatSupertypeGenerator.kt:64)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypeResolverVisitor.addSupertypesFromExtensions(FirSupertypesResolution.kt:498)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypeResolverVisitor.resolveSpecificClassLikeSupertypes$lambda$15(FirSupertypesResolution.kt:475)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypeResolverVisitor.resolveSpecificClassLikeSupertypes(FirSupertypesResolution.kt:405)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypeResolverVisitor.resolveSpecificClassLikeSupertypes(FirSupertypesResolution.kt:448)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypeResolverVisitor.visitRegularClass(FirSupertypesResolution.kt:428)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypeResolverVisitor.visitRegularClass(FirSupertypesResolution.kt:228)
    at org.jetbrains.kotlin.fir.declarations.FirRegularClass.accept(FirRegularClass.kt:48)
    at org.jetbrains.kotlin.fir.resolve.transformers.FirSupertypesResolutionKt.runSupertypeResolvePhaseForLocalClass(FirSupertypesResolution.kt:97)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.LocalClassesResolutionKt.runAllPhasesForLocalClass(LocalClassesResolution.kt:41)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.transformRegularClass(FirDeclarationsResolveTransformer.kt:746)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher.transformRegularClass(FirAbstractBodyResolveTransformerDispatcher.kt:503)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher.transformRegularClass(FirAbstractBodyResolveTransformerDispatcher.kt:24)
    at org.jetbrains.kotlin.fir.declarations.FirRegularClass.transform(FirRegularClass.kt:52)
    at org.jetbrains.kotlin.fir.expressions.FirExpressionUtilKt.transformStatementsIndexed(FirExpressionUtil.kt:198)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirExpressionsResolveTransformer.transformBlockInCurrentScope$resolve(FirExpressionsResolveTransformer.kt:589)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirExpressionsResolveTransformer.transformBlock(FirExpressionsResolveTransformer.kt:580)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher.transformBlock(FirAbstractBodyResolveTransformerDispatcher.kt:191)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher.transformBlock(FirAbstractBodyResolveTransformerDispatcher.kt:24)
    at org.jetbrains.kotlin.fir.expressions.FirBlock.transform(FirBlock.kt:32)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer.transformElement(FirPartialBodyResolveTransformer.kt:36)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirPartialBodyResolveTransformer.transformElement(FirPartialBodyResolveTransformer.kt:13)
    at org.jetbrains.kotlin.fir.visitors.FirTransformer.transformBlock(FirTransformer.kt:191)
    at org.jetbrains.kotlin.fir.expressions.FirBlock.transform(FirBlock.kt:32)
    at org.jetbrains.kotlin.fir.declarations.impl.FirSimpleFunctionImpl.transformBody(FirSimpleFunctionImpl.kt:109)
    at org.jetbrains.kotlin.fir.declarations.impl.FirSimpleFunctionImpl.transformBody(FirSimpleFunctionImpl.kt:32)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.transformFunction(FirDeclarationsResolveTransformer.kt:968)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.transformFunctionWithGivenSignature(FirDeclarationsResolveTransformer.kt:918)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.access$transformFunctionWithGivenSignature(FirDeclarationsResolveTransformer.kt:56)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.transformSimpleFunction$lambda$61$lambda$60$lambda$59(FirDeclarationsResolveTransformer.kt:910)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.BodyResolveContext.forFunctionBody(BodyResolveContext.kt:1206)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.transformSimpleFunction(FirDeclarationsResolveTransformer.kt:908)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher.transformSimpleFunction(FirAbstractBodyResolveTransformerDispatcher.kt:530)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformerDispatcher.transformSimpleFunction(FirAbstractBodyResolveTransformerDispatcher.kt:24)
    at org.jetbrains.kotlin.fir.declarations.FirSimpleFunction.transform(FirSimpleFunction.kt:55)
    at org.jetbrains.kotlin.fir.visitors.FirTransformerUtilKt.transformSingle(FirTransformerUtil.kt:13)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirAbstractBodyTargetResolver.rawResolve(LLFirAbstractBodyTargetResolver.kt:70)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirBodyTargetResolver.rawResolve(LLFirBodyLazyResolver.kt:324)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirAbstractBodyTargetResolver.resolve(LLFirAbstractBodyTargetResolver.kt:65)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirBodyTargetResolver.doLazyResolveUnderLock(LLFirBodyLazyResolver.kt:309)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirTargetResolver.performResolve(LLFirTargetResolver.kt:305)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirTargetResolver.performAction(LLFirTargetResolver.kt:274)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.targets.LLFirSingleResolveTarget.visitTargetElement(LLFirSingleResolveTarget.kt:21)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.targets.LLFirResolveTarget.goToTarget(LLFirResolveTarget.kt:83)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.targets.LLFirResolveTarget.goToTarget$lambda$2(LLFirResolveTarget.kt:76)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirAbstractBodyTargetResolver.withContainingFile$lambda$1(LLFirAbstractBodyTargetResolver.kt:39)
    at org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirDeclarationsResolveTransformer.withFile(FirDeclarationsResolveTransformer.kt:822)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirAbstractBodyTargetResolver.withContainingFile(LLFirAbstractBodyTargetResolver.kt:38)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirTargetResolver.withFile(LLFirTargetResolver.kt:207)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.targets.LLFirResolveTarget.goToTarget(LLFirResolveTarget.kt:76)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.targets.LLFirResolveTarget.goToTarget(LLFirResolveTarget.kt:65)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.targets.LLFirResolveTarget.visit(LLFirResolveTarget.kt:60)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirTargetResolver.resolveDesignation(LLFirTargetResolver.kt:270)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirLazyResolver.resolve(LLFirLazyResolver.kt:34)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.transformers.LLFirLazyResolverRunner.runLazyResolverByPhase(LLFirLazyResolverRunner.kt:29)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.lazy.resolve.LLFirModuleLazyDeclarationResolver.lazyResolveTargets(LLFirModuleLazyDeclarationResolver.kt:129)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.lazy.resolve.LLFirModuleLazyDeclarationResolver.lazyResolve(LLFirModuleLazyDeclarationResolver.kt:208)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.LLFirLazyDeclarationResolver.lazyResolveToPhase(LLFirLazyDeclarationResolver.kt:26)
    at org.jetbrains.kotlin.fir.symbols.FirLazyDeclarationResolverKt$lazyResolveToPhase$1.invoke(FirLazyDeclarationResolver.kt:100)
    at org.jetbrains.kotlin.fir.symbols.FirLazyDeclarationResolverKt$lazyResolveToPhase$1.invoke(FirLazyDeclarationResolver.kt:100)
    at org.jetbrains.kotlin.fir.symbols.FirLazyDeclarationResolverKt.invokeLazyResolveToPhase(FirLazyDeclarationResolver.kt:179)
    at org.jetbrains.kotlin.fir.symbols.FirLazyDeclarationResolverKt.lazyResolveToPhase(FirLazyDeclarationResolver.kt:100)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure.FileStructure.createDeclarationStructure(FileStructure.kt:192)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure.FileStructure.createStructureElement(FileStructure.kt:229)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure.FileStructure.getStructureElementFor(FileStructure.kt:90)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.element.builder.FirElementBuilder.getFirForNonKtFileElement(FirElementBuilder.kt:130)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.element.builder.FirElementBuilder.getOrBuildFirFor(FirElementBuilder.kt:105)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.state.LLFirResolvableResolveSession.getOrBuildFirFor$low_level_api_fir(LLFirResolvableResolveSession.kt:47)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.LowLevelFirApiFacadeKt.getOrBuildFir(LowLevelFirApiFacade.kt:108)
    at org.jetbrains.kotlin.analysis.api.fir.components.KaFirEvaluator.evaluate(KaFirEvaluator.kt:28)
    at org.jetbrains.kotlin.analysis.api.impl.base.KaBaseSession.evaluate(KaBaseSession.kt)
    at org.jetbrains.uast.kotlin.FirKotlinUastResolveProviderService.evaluate(FirKotlinUastResolveProviderService.kt:789)
    at org.jetbrains.uast.kotlin.KotlinEvaluatableUElement.evaluate(KotlinEvaluatableUElement.kt:13)
    at org.jetbrains.uast.ULiteralExpression.isBoolean(ULiteralExpression.kt:35)
    at com.intellij.microservices.jvm.url.UastUrlPathInlayLanguagesProvider.getPotentialElementsWithHintsProviders(UastUrlPathInlayLanguagesProvider.kt:53)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$Companion.inlaysInElement$intellij_microservices(UrlPathInlayHintsProvider.kt:134)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$getCollectorFor$1$collect$1.invoke(UrlPathInlayHintsProvider.kt:37)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$getCollectorFor$1$collect$1.invoke(UrlPathInlayHintsProvider.kt:36)
    at com.intellij.microservices.url.references.UrlPathContextKt.forbidExpensiveUrlContext(UrlPathContext.kt:248)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$getCollectorFor$1.collect(UrlPathInlayHintsProvider.kt:36)
    at com.intellij.codeInsight.hints.CollectorWithSettings.collectHints(InlayHintsUtils.kt:97)
    at com.intellij.codeInsight.hints.InlayHintsPass.doCollectInformation$lambda$1(InlayHintsPass.kt:60)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
    at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:96)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:108)
    at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:89)
    at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:759)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
toth-istvan-zoltan commented 2 months ago
java.lang.AssertionError: You should use ConeClassLookupTagWithFixedSymbol for local <local>/EditData!
    at org.jetbrains.kotlin.fir.symbols.impl.ConeClassLikeLookupTagImpl.<init>(ConeClassLikeLookupTagImpl.kt:19)
    at org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt.toLookupTag(TypeConstructionUtils.kt:37)
    at org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt.constructClassLikeType(TypeConstructionUtils.kt:45)
    at org.jetbrains.kotlin.fir.types.TypeConstructionUtilsKt.constructClassLikeType$default(TypeConstructionUtils.kt:40)
    at fun.adaptive.kotlin.adat.fir.AdatDeclarationGenerator.getAdatClassType(AdatDeclarationGenerator.kt:309)
    at fun.adaptive.kotlin.adat.fir.AdatDeclarationGenerator.generateProperties(AdatDeclarationGenerator.kt:156)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage$CallableStorage.generateMemberProperties(FirGeneratedScopes.kt:205)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage$CallableStorage.access$generateMemberProperties(FirGeneratedScopes.kt:175)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage$CallableStorage$special$$inlined$createCache$2.invoke(FirCachesFactory.kt:73)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage$CallableStorage$special$$inlined$createCache$2.invoke(FirCachesFactory.kt:71)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.fir.caches.FirThreadSafeCache.getValue(FirThreadSafeCache.kt:27)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedClassDeclaredMemberScope.processPropertiesByName(FirGeneratedScopes.kt:282)
    at org.jetbrains.kotlin.fir.scopes.FirCompositeScope.processPropertiesByName(FirCompositeScope.kt:59)
    at org.jetbrains.kotlin.fir.scopes.FirNameAwareCompositeScope.processPropertiesByName(FirCompositeScope.kt:86)
    at org.jetbrains.kotlin.analysis.api.fir.scopes.FirScopeUtilsKt$getCallableSymbols$1.invokeSuspend(firScopeUtils.kt:29)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:129)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassUtilsKt.createMethods(symbolLightClassUtils.kt:741)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassUtilsKt.createMethods$default(symbolLightClassUtils.kt:207)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForClassOrObject$getOwnMethods$$inlined$cachedValue$1.compute(symbolLightUtils.kt:386)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:173)
    at com.intellij.psi.impl.PsiCachedValueImpl$Direct.doCompute(PsiCachedValueImpl.kt:77)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:236)
    at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:43)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:236)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:27)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:237)
    at com.intellij.psi.impl.PsiCachedValueImpl$Direct.getValue(PsiCachedValueImpl.kt:81)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:83)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:170)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:136)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForClassOrObject.getOwnMethods(SymbolLightClassForClassOrObject.kt:314)
    at org.jetbrains.kotlin.asJava.classes.ClassInnerStuffCache.calcMethods(ClassInnerStuffCache.java:221)
    at org.jetbrains.kotlin.asJava.classes.ClassInnerStuffCache.lambda$getMethods$2(ClassInnerStuffCache.java:94)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:173)
    at com.intellij.psi.impl.PsiCachedValueImpl$Direct.doCompute(PsiCachedValueImpl.kt:77)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:236)
    at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:43)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:236)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:27)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:66)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:237)
    at com.intellij.psi.impl.PsiCachedValueImpl$Direct.getValue(PsiCachedValueImpl.kt:81)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:83)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:170)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:136)
    at org.jetbrains.kotlin.asJava.classes.ClassInnerStuffCache.getMethods(ClassInnerStuffCache.java:91)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassBase.getMethods(SymbolLightClassBase.kt:51)
    at org.jetbrains.kotlin.asJava.LightClassUtil.getPsiMethodWrappers$lambda$6(LightClassUtil.kt:169)
    at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
    at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.SequencesKt___SequencesKt.firstOrNull(_Sequences.kt:168)
    at org.jetbrains.kotlin.asJava.LightClassUtil.getPsiMethodWrapper(LightClassUtil.kt:161)
    at org.jetbrains.kotlin.asJava.LightClassUtil.getLightClassMethod(LightClassUtil.kt:142)
    at org.jetbrains.kotlin.asJava.LightClassUtilsKt.getRepresentativeLightMethod(lightClassUtils.kt:74)
    at org.jetbrains.uast.kotlin.internal.FirKotlinInternalUastUtilsKt.toPsiMethod(firKotlinInternalUastUtils.kt:141)
    at org.jetbrains.uast.kotlin.FirKotlinUastResolveProviderService.resolveCall(FirKotlinUastResolveProviderService.kt:250)
    at org.jetbrains.uast.kotlin.KotlinUFunctionCallExpression.resolve(KotlinUFunctionCallExpression.kt:274)
    at com.intellij.patterns.uast.UCallExpressionPattern$constructor$2.invoke(UastPatterns.kt:183)
    at com.intellij.patterns.uast.UCallExpressionPattern$constructor$2.invoke(UastPatterns.kt:180)
    at com.intellij.patterns.uast.UElementPattern$filterWithContext$1.accepts(UastPatterns.kt:77)
    at com.intellij.patterns.uast.UElementPattern$filterWithContext$1.accepts(UastPatterns.kt:76)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:48)
    at com.intellij.patterns.uast.UastPatterns.isCallExpressionParameter(UastPatterns.kt:108)
    at com.intellij.patterns.uast.UastPatterns.access$isCallExpressionParameter(UastPatterns.kt:1)
    at com.intellij.patterns.uast.UExpressionPattern$callParameter$1.invoke(UastPatterns.kt:237)
    at com.intellij.patterns.uast.UExpressionPattern$callParameter$1.invoke(UastPatterns.kt:236)
    at com.intellij.patterns.uast.UElementPattern$filterWithContext$1.accepts(UastPatterns.kt:77)
    at com.intellij.patterns.uast.UElementPattern$filterWithContext$1.accepts(UastPatterns.kt:76)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:55)
    at com.intellij.patterns.StandardPatterns$3.accepts(StandardPatterns.java:98)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:43)
    at com.intellij.patterns.PatternConditionPlus.process(PatternConditionPlus.java:33)
    at com.intellij.patterns.PatternConditionPlus.process(PatternConditionPlus.java:12)
    at com.intellij.patterns.ObjectPattern$2.processValues(ObjectPattern.java:87)
    at com.intellij.patterns.PatternConditionPlus.accepts(PatternConditionPlus.java:28)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:48)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:37)
    at com.intellij.spring.security.mvc.inlay.SpringSecurityUastMatchersInlayProvider$getCollectorFor$1.collect(SpringSecurityUastMatchersInlayProvider.kt:27)
    at com.intellij.codeInsight.hints.CollectorWithSettings.collectHints(InlayHintsUtils.kt:97)
    at com.intellij.codeInsight.hints.InlayHintsPass.doCollectInformation$lambda$1(InlayHintsPass.kt:60)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
    at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:96)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:108)
    at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:89)
    at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:759)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
toth-istvan-zoltan commented 2 months ago

IDEA 2023.3 EAP

java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.fir.symbols.impl.FirClassLikeSymbol org.jetbrains.kotlin.fir.analysis.checkers.FirHelpersKt.getContainingClassSymbol(org.jetbrains.kotlin.fir.symbols.FirBasedSymbol, org.jetbrains.kotlin.fir.FirSession)'
    at fun.adaptive.kotlin.adat.fir.AdatDeclarationGenerator.isAdatCompanion(AdatDeclarationGenerator.kt:299)
    at fun.adaptive.kotlin.adat.fir.AdatDeclarationGenerator.getCallableNamesForClass(AdatDeclarationGenerator.kt:89)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage.getCallableStorage$providers(FirGeneratedScopes.kt:157)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedClassDeclaredMemberScope$Companion.create(FirGeneratedScopes.kt:48)
    at org.jetbrains.kotlin.fir.scopes.impl.FirDeclaredMemberScopeProvider.createDeclaredMemberScope(FirDeclaredMemberScopeProvider.kt:76)
    at org.jetbrains.kotlin.fir.scopes.impl.FirDeclaredMemberScopeProvider.declaredMemberCache$lambda$0(FirDeclaredMemberScopeProvider.kt:29)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.fir.caches.FirThreadSafeCache.getValue(FirThreadSafeCache.kt:27)
    at org.jetbrains.kotlin.fir.scopes.impl.FirDeclaredMemberScopeProvider.declaredMemberScope(FirDeclaredMemberScopeProvider.kt:45)
    at org.jetbrains.kotlin.fir.scopes.impl.FirDeclaredMemberScopeProviderKt.declaredMemberScope(FirDeclaredMemberScopeProvider.kt:119)
    at org.jetbrains.kotlin.analysis.api.fir.components.KaFirScopeProvider.getCombinedFirKotlinDeclaredMemberScope(KaFirScopeProvider.kt:153)
    at org.jetbrains.kotlin.analysis.api.fir.components.KaFirScopeProvider.getFirKotlinDeclaredMemberScope(KaFirScopeProvider.kt:137)
    at org.jetbrains.kotlin.analysis.api.fir.components.KaFirScopeProvider.getDeclaredMemberScope(KaFirScopeProvider.kt:127)
    at org.jetbrains.kotlin.analysis.api.fir.components.KaFirScopeProvider.getCombinedDeclaredMemberScope(KaFirScopeProvider.kt:106)
    at org.jetbrains.kotlin.analysis.api.impl.base.KaBaseSession.getCombinedDeclaredMemberScope(KaBaseSession.kt)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForClassOrObject$getOwnMethods$$inlined$cachedValue$1.compute(symbolLightUtils.kt:362)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:173)
    at com.intellij.psi.impl.AbstractPsiCachedValue.doCompute(PsiCachedValueImpl.kt:20)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:299)
    at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:37)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:299)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:113)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:29)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:300)
    at com.intellij.psi.impl.AbstractPsiCachedValue.getValue(PsiCachedValueImpl.kt:14)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:83)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:170)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:136)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassForClassOrObject.getOwnMethods(SymbolLightClassForClassOrObject.kt:316)
    at org.jetbrains.kotlin.light.classes.symbol.classes.SymbolLightClassBase.getMethods(SymbolLightClassBase.kt:50)
    at org.jetbrains.kotlin.asJava.LightClassUtil.getPsiMethodWrappers$lambda$6(LightClassUtil.kt:171)
    at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:330)
    at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:318)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.SequencesKt___SequencesKt.firstOrNull(_Sequences.kt:172)
    at org.jetbrains.kotlin.asJava.LightClassUtil.getPsiMethodWrapper(LightClassUtil.kt:163)
    at org.jetbrains.kotlin.asJava.LightClassUtil.getLightClassMethod(LightClassUtil.kt:144)
    at org.jetbrains.uast.kotlin.BaseKotlinConverter.convertParameter$lambda$41(BaseKotlinConverter.kt:399)
    at org.jetbrains.uast.internal.ImplementationUtilsKt.accommodate$lambda$2(implementationUtils.kt:30)
    at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at kotlin.sequences.SequencesKt___SequencesKt.firstOrNull(_Sequences.kt:172)
    at org.jetbrains.uast.kotlin.BaseKotlinConverter.convertDeclaration(BaseKotlinConverter.kt:233)
    at org.jetbrains.uast.kotlin.BaseKotlinConverter.convertDeclarationOrElement(BaseKotlinConverter.kt:294)
    at org.jetbrains.uast.kotlin.FirKotlinUastLanguagePlugin.convertElementWithParent(FirKotlinUastLanguagePlugin.kt:66)
    at org.jetbrains.uast.kotlin.KotlinConvertParentUtilsKt.convertParentImpl(kotlinConvertParentUtils.kt:174)
    at org.jetbrains.uast.kotlin.KotlinConvertParentUtilsKt.convertParentImpl(kotlinConvertParentUtils.kt:135)
    at org.jetbrains.uast.kotlin.BaseKotlinUastResolveProviderService.convertParent(BaseKotlinUastResolveProviderService.kt:25)
    at org.jetbrains.uast.kotlin.KotlinAbstractUElement.convertParent(KotlinAbstractUElement.kt:41)
    at org.jetbrains.uast.kotlin.KotlinAbstractUElement.getUastParent(KotlinAbstractUElement.kt:34)
    at com.intellij.microservices.jvm.url.UastUrlPathInlayLanguagesProvider.hasFieldOrExpressionParent(UastUrlPathInlayLanguagesProvider.kt:69)
    at com.intellij.microservices.jvm.url.UastUrlPathInlayLanguagesProvider.getPotentialElementsWithHintsProviders(UastUrlPathInlayLanguagesProvider.kt:49)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$Companion.inlaysInElement$intellij_microservices(UrlPathInlayHintsProvider.kt:134)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$getCollectorFor$1$collect$1.invoke(UrlPathInlayHintsProvider.kt:37)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$getCollectorFor$1$collect$1.invoke(UrlPathInlayHintsProvider.kt:36)
    at com.intellij.microservices.url.references.UrlPathContextKt.forbidExpensiveUrlContext(UrlPathContext.kt:248)
    at com.intellij.microservices.url.inlay.UrlPathInlayHintsProvider$getCollectorFor$1.collect(UrlPathInlayHintsProvider.kt:36)
    at com.intellij.codeInsight.hints.CollectorWithSettings.collectHints(InlayHintsUtils.kt:97)
    at com.intellij.codeInsight.hints.InlayHintsPass.doCollectInformation$lambda$1(InlayHintsPass.kt:60)
    at com.intellij.concurrency.ApplierCompleter.processArrayItem(ApplierCompleter.java:116)
    at com.intellij.concurrency.ApplierCompleter.processArray(ApplierCompleter.java:196)
    at com.intellij.concurrency.ApplierCompleter.execAll(ApplierCompleter.java:166)
    at com.intellij.concurrency.ApplierCompleter.lambda$exec$0(ApplierCompleter.java:105)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:322)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:953)
    at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$2(ApplierCompleter.java:148)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:661)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:736)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:692)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:159)
    at com.intellij.concurrency.ApplierCompleter.wrapAndRun(ApplierCompleter.java:143)
    at com.intellij.concurrency.ApplierCompleter.exec(ApplierCompleter.java:108)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
toth-istvan-zoltan commented 1 month ago
java.lang.IllegalStateException: No arguments constructor for class {fun/adaptive/ui/navigation/NavStateOrigin=} fun/adaptive/auto/internal/origin/OriginBase<*, *, fun/adaptive/ui/navigation/NavState, fun/adaptive/ui/navigation/NavState> not found
    at org.jetbrains.kotlin.fir.plugin.ConstructorBuildingContextKt.generateNoArgDelegatingConstructorCall(ConstructorBuildingContext.kt:168)
    at org.jetbrains.kotlin.fir.plugin.ConstructorBuildingContextKt.createConstructor(ConstructorBuildingContext.kt:129)
    at org.jetbrains.kotlin.fir.plugin.ConstructorBuildingContextKt.createConstructor$default(ConstructorBuildingContext.kt:116)
    at fun.adaptive.kotlin.adat.fir.AdatDeclarationGenerator.generateCompanionConstructor(AdatDeclarationGenerator.kt:139)
    at fun.adaptive.kotlin.adat.fir.AdatDeclarationGenerator.generateConstructors(AdatDeclarationGenerator.kt:109)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage$CallableStorage.generateConstructors(FirGeneratedScopes.kt:211)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedMemberDeclarationsStorage$CallableStorage.constructorCache$lambda$2(FirGeneratedScopes.kt:187)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.fir.caches.FirThreadSafeValue.getLazyValue(FirThreadSafeValue.kt:11)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.fir.caches.FirThreadSafeValue.getValue(FirThreadSafeValue.kt:12)
    at org.jetbrains.kotlin.fir.scopes.impl.FirGeneratedClassDeclaredMemberScope.processDeclaredConstructors(FirGeneratedScopes.kt:90)
    at org.jetbrains.kotlin.fir.scopes.FirCompositeScope.processDeclaredConstructors(FirCompositeScope.kt:63)
    at org.jetbrains.kotlin.fir.scopes.FirNameAwareCompositeScope.processDeclaredConstructors(FirCompositeScope.kt:90)
    at org.jetbrains.kotlin.fir.declarations.DeclarationUtilsKt.constructors(declarationUtils.kt:30)
    at org.jetbrains.kotlin.fir.declarations.DeclarationUtilsKt.primaryConstructorIfAny(declarationUtils.kt:35)
    at org.jetbrains.kotlin.fir.analysis.checkers.declaration.FirSupertypesChecker.checkDelegationWithoutPrimaryConstructor(FirSupertypesChecker.kt:256)
    at org.jetbrains.kotlin.fir.analysis.checkers.declaration.FirSupertypesChecker.check(FirSupertypesChecker.kt:112)
    at org.jetbrains.kotlin.fir.analysis.checkers.declaration.FirSupertypesChecker.check(FirSupertypesChecker.kt:39)
    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)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.LLFirDiagnosticVisitor.checkElement(LLFirDiagnosticVisitor.kt:44)
    at org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor.access$checkElement(AbstractDiagnosticCollectorVisitor.kt:30)
    at org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor.visitWithDeclarationAndReceiver(AbstractDiagnosticCollectorVisitor.kt:1376)
    at org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor.visitClassAndChildren(AbstractDiagnosticCollectorVisitor.kt:87)
    at org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor.visitRegularClass(AbstractDiagnosticCollectorVisitor.kt:92)
    at org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollectorVisitor.visitRegularClass(AbstractDiagnosticCollectorVisitor.kt:30)
    at org.jetbrains.kotlin.fir.declarations.FirRegularClass.accept(FirRegularClass.kt:48)
    at org.jetbrains.kotlin.fir.analysis.collectors.AbstractDiagnosticCollector.collectDiagnostics(AbstractDiagnosticCollector.kt:36)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.FileStructureElementDiagnosticsCollector.collectForStructureElement(FileStructureElementDiagnosticsCollector.kt:29)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.FileStructureElementDiagnosticRetriever.retrieve(FileStructureElementDiagnosticRetriever.kt:45)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.FileStructureElementDiagnostics.diagnosticByCommonCheckers_delegate$lambda$0(FileStructureElementDiagnostics.kt:18)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.FileStructureElementDiagnostics.getDiagnosticByCommonCheckers(FileStructureElementDiagnostics.kt:17)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.FileStructureElementDiagnostics.access$getDiagnosticByCommonCheckers(FileStructureElementDiagnostics.kt:16)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure.FileStructure.collectDiagnosticsFromStructureElements(FileStructure.kt:244)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.file.structure.FileStructure.getAllDiagnosticsForFile(FileStructure.kt:143)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.diagnostics.DiagnosticsCollector.collectDiagnosticsForFile(DiagnosticsCollector.kt:25)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.state.LLSourceDiagnosticProvider.collectDiagnostics(LLDiagnosticProvider.kt:43)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.LLFirResolveSession.collectDiagnosticsForFile$low_level_api_fir(LLFirResolveSession.kt:94)
    at org.jetbrains.kotlin.analysis.low.level.api.fir.api.LowLevelFirApiFacadeKt.collectDiagnosticsForFile(LowLevelFirApiFacade.kt:87)
    at org.jetbrains.kotlin.analysis.api.fir.components.KaFirDiagnosticProvider.collectDiagnostics(KaFirDiagnosticProvider.kt:28)
    at org.jetbrains.kotlin.analysis.api.impl.base.KaBaseSession.collectDiagnostics(KaBaseSession.kt)
    at com.intellij.ml.inline.completion.kotlin.correctness.KotlinEnrichmentTool.findErrorsByKotlinDiagnostics(KotlinSuggestionEnricher.kt:209)
    at com.intellij.ml.inline.completion.kotlin.correctness.KotlinEnrichmentTool.run(KotlinSuggestionEnricher.kt:173)
    at com.intellij.ml.inline.completion.features.correctness.SuggestionEnricherBase.runRawEnrichmentTools(SuggestionEnricherBase.kt:83)
    at com.intellij.ml.inline.completion.features.correctness.SuggestionEnricherBase.enrich(SuggestionEnricherBase.kt:62)
    at com.intellij.ml.inline.completion.impl.postprocessing.analyzer.MLCompletionAnalyzer.analyze(MLCompletionAnalyzer.kt:27)
    at com.intellij.ml.inline.completion.impl.postprocessing.analyzer.SequentialProposalsAnalyzer$analyze$2$analyzed$1$1.invoke(SequentialProposalsAnalyzer.kt:43)
    at com.intellij.ml.inline.completion.impl.postprocessing.analyzer.SequentialProposalsAnalyzer$analyze$2$analyzed$1$1.invoke(SequentialProposalsAnalyzer.kt:42)
    at com.intellij.openapi.progress.CoroutinesKt.jobToIndicator$lambda$2(coroutines.kt:445)
    at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:98)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:217)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:202)
    at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:98)
    at com.intellij.openapi.progress.CoroutinesKt.jobToIndicator(coroutines.kt:433)
    at com.intellij.openapi.progress.CoroutinesKt.contextToIndicator(coroutines.kt:425)
    at com.intellij.openapi.progress.CoroutinesKt.blockingContextToIndicator(coroutines.kt:401)
    at com.intellij.ml.inline.completion.impl.postprocessing.analyzer.SequentialProposalsAnalyzer$analyze$2$analyzed$1.invoke(SequentialProposalsAnalyzer.kt:42)
    at com.intellij.ml.inline.completion.impl.postprocessing.analyzer.SequentialProposalsAnalyzer$analyze$2$analyzed$1.invoke(SequentialProposalsAnalyzer.kt:41)
    at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:104)
    at com.intellij.openapi.application.rw.InternalReadAction.access$insideReadAction(InternalReadAction.kt:15)
    at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$2.invoke(InternalReadAction.kt:94)
    at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$2.invoke(InternalReadAction.kt:93)
    at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$2$lambda$1$lambda$0(cancellableReadAction.kt:31)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:291)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
    at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal$lambda$2$lambda$1(cancellableReadAction.kt:29)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:66)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:155)
    at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:27)
    at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:93)
    at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:77)
    at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:64)
    at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:15)
    at com.intellij.openapi.application.rw.InternalReadAction$readLoop$1.invokeSuspend(InternalReadAction.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)