Kotlin resolution encountered a problem while analyzing KtNamedFunction
Environments
Plugin version: 3.3.2
IntelliJ IDEA 2022.1.1 (Ultimate Edition)
Build #IU-221.5591.52, built on May 11, 2022
Runtime version: 11.0.14.1+1-b2043.45 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Operating system: macOS 12.3.1
Last action id: Git.Branches
Stack Trace
org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtNamedFunction
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyze(ResolutionFacadeWithDebugInfo.kt:43)
at org.jetbrains.kotlin.idea.caches.resolve.ExtendedResolutionApiKt.analyze(extendedResolutionApi.kt:105)
at org.jetbrains.kotlin.idea.util.SafeAnalyzeKt.safeAnalyzeNonSourceRootCode(safeAnalyze.kt:48)
at org.jetbrains.kotlin.idea.util.SafeAnalyzeKt.safeAnalyzeNonSourceRootCode(safeAnalyze.kt:42)
at org.jetbrains.kotlin.idea.caches.resolve.IDELightClassGenerationSupport.analyze(IDELightClassGenerationSupport.kt:145)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierListKt.getAnnotationDescriptors(KtLightModifierList.kt:219)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierListKt.lightAnnotationsForEntries(KtLightModifierList.kt:176)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierListKt.access$lightAnnotationsForEntries(KtLightModifierList.kt:1)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList.computeAnnotations(KtLightModifierList.kt:68)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList.access$computeAnnotations(KtLightModifierList.kt:24)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList$_annotations$2.invoke(KtLightModifierList.kt:29)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList$_annotations$2.invoke(KtLightModifierList.kt:28)
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:107)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList.get_annotations(KtLightModifierList.kt:28)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList.findAnnotation(KtLightModifierList.kt:49)
at org.jetbrains.kotlin.asJava.elements.KtLightModifierList.findAnnotation(KtLightModifierList.kt:24)
at com.intellij.psi.PsiAnnotationOwner.hasAnnotation(PsiAnnotationOwner.java:44)
at com.intellij.patterns.PsiModifierListOwnerPattern$3.accepts(PsiModifierListOwnerPattern.java:47)
at com.intellij.patterns.PsiModifierListOwnerPattern$3.accepts(PsiModifierListOwnerPattern.java:43)
at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:51)
at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:26)
at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:132)
at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:102)
at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:87)
at com.intellij.semantic.SemService.getSemElement(SemService.java:32)
at com.intellij.jam.JamService.getJamElement(JamService.java:102)
at com.intellij.jam.JamService.lambda$getJamMethodElements$2(JamService.java:183)
at com.intellij.util.AbstractQuery.lambda$threadSafeProcessor$1(AbstractQuery.java:76)
at com.intellij.util.InstanceofQuery$MyProcessor.process(InstanceofQuery.java:43)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher$execute$1.invoke(KotlinAnnotatedElementsSearcher.kt:44)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher$execute$1.invoke(KotlinAnnotatedElementsSearcher.kt:33)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher$Companion$processAnnotatedMembers$result$1.invoke(KotlinAnnotatedElementsSearcher.kt:107)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher$Companion$processAnnotatedMembers$result$1.invoke(KotlinAnnotatedElementsSearcher.kt:70)
at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt$sam$com_intellij_openapi_util_Computable$0.compute(ApplicationUtils.kt)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:920)
at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:20)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher$Companion.processAnnotatedMembers(KotlinAnnotatedElementsSearcher.kt:88)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher$Companion.processAnnotatedMembers$default(KotlinAnnotatedElementsSearcher.kt:76)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher.execute(KotlinAnnotatedElementsSearcher.kt:36)
at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinAnnotatedElementsSearcher.execute(KotlinAnnotatedElementsSearcher.kt:33)
at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108)
at com.intellij.util.InstanceofQuery.processResults(InstanceofQuery.java:22)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
at com.intellij.jam.model.util.JamCommonUtil.findAnnotatedElements(JamCommonUtil.java:382)
at com.intellij.jam.JamService.getJamMethodElements(JamService.java:182)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.lambda$getRequestMappings$3(AnnotatedRequestMappingsProcessor.java:97)
at com.intellij.util.containers.ContainerUtil.flatMap(ContainerUtil.java:2218)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.getRequestMappings(AnnotatedRequestMappingsProcessor.java:96)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.lambda$getModuleSourceRequestMappings$1(AnnotatedRequestMappingsProcessor.java:76)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:227)
at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:227)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:114)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:44)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:228)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.getModuleSourceRequestMappings(AnnotatedRequestMappingsProcessor.java:74)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.getModuleRequestMappings(AnnotatedRequestMappingsProcessor.java:70)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.lambda$getRequestMappingsFromAnnotations$0(AnnotatedRequestMappingsProcessor.java:55)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:227)
at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:227)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:114)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:44)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:228)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.getRequestMappingsFromAnnotations(AnnotatedRequestMappingsProcessor.java:51)
at com.intellij.spring.mvc.model.mappings.processors.AnnotatedRequestMappingsProcessor.processAnnotationMappings(AnnotatedRequestMappingsProcessor.java:46)
at com.intellij.spring.mvc.services.SpringMvcUtils.processMappingDefinitions(SpringMvcUtils.java:191)
at com.intellij.spring.mvc.services.SpringMvcUtils.getUrlMappings(SpringMvcUtils.java:140)
at com.intellij.spring.mvc.services.SpringMvcUtils.lambda$getUrlMappings$2(SpringMvcUtils.java:132)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:39)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:227)
at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:42)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:227)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:114)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:44)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:228)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:28)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
at com.intellij.spring.mvc.services.SpringMvcUtils.getUrlMappings(SpringMvcUtils.java:130)
at com.intellij.spring.mvc.services.SpringMvcUtils.getMatchingUrlMappings(SpringMvcUtils.java:199)
at com.intellij.spring.mvc.model.SpringMvcUrlResolver$resolve$2$1.invoke(SpringMvcUrlResolver.kt:35)
at com.intellij.spring.mvc.model.SpringMvcUrlResolver$resolve$2$1.invoke(SpringMvcUrlResolver.kt:25)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:316)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:307)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:307)
at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
at com.intellij.microservices.url.UrlPathModelKt.filterBestUrlPathMatches(UrlPathModel.kt:310)
at com.intellij.microservices.url.references.UrlPathReferenceUnifiedPomTarget$$special$$inlined$lazySynchronousResolve$1.invoke(ReferenceResolveUtils.kt:33)
at kotlin.SafePublicationLazyImpl.getValue(LazyJVM.kt:107)
at com.intellij.microservices.url.references.UrlPathReferenceUnifiedPomTarget.getResolvedTargets(UrlPathReferenceUnifiedPomTarget.kt)
at com.intellij.spring.mvc.SpringMvcRequestMappingDocumentationProvider.getRequestMapping(SpringMvcRequestMappingDocumentationProvider.java:142)
at com.intellij.spring.mvc.SpringMvcRequestMappingDocumentationProvider.generateDoc(SpringMvcRequestMappingDocumentationProvider.java:112)
at com.intellij.lang.documentation.CompositeDocumentationProvider.generateDoc(CompositeDocumentationProvider.java:141)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$generateDoc$1$originalDoc$1.invoke(TranslatingDocumentationProvider.kt:32)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$generateDoc$1$originalDoc$1.invoke(TranslatingDocumentationProvider.kt:32)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$Companion.nullIfError(TranslatingDocumentationProvider.kt:112)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$Companion.access$nullIfError(TranslatingDocumentationProvider.kt:85)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$generateDoc$1.invoke(TranslatingDocumentationProvider.kt:32)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$generateDoc$1.invoke(TranslatingDocumentationProvider.kt:30)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$Companion.nullIfRecursive(TranslatingDocumentationProvider.kt:125)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider$Companion.access$nullIfRecursive(TranslatingDocumentationProvider.kt:85)
at cn.yiiguxing.plugin.translate.provider.TranslatingDocumentationProvider.generateDoc(TranslatingDocumentationProvider.kt:30)
at com.intellij.lang.documentation.CompositeDocumentationProvider.generateDoc(CompositeDocumentationProvider.java:141)
at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.localDocHtml(PsiElementDocumentationTarget.kt:101)
at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.localDoc(PsiElementDocumentationTarget.kt:87)
at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.computeDocumentation(PsiElementDocumentationTarget.kt:74)
at com.intellij.lang.documentation.impl.ImplKt$computeDocumentation$2$documentationResult$1.invoke(impl.kt:31)
at com.intellij.lang.documentation.impl.ImplKt$computeDocumentation$2$documentationResult$1.invoke(impl.kt)
at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:96)
at com.intellij.openapi.application.rw.InternalReadAction.access$insideReadAction(InternalReadAction.kt:13)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$1.invoke(InternalReadAction.kt:81)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$1.invoke(InternalReadAction.kt:13)
at com.intellij.openapi.progress.CancellationKt$sam$com_intellij_openapi_util_ThrowableComputable$0.compute(cancellation.kt)
at com.intellij.openapi.progress.Cancellation.withJob(Cancellation.java:60)
at com.intellij.openapi.progress.CancellationKt.withJob(cancellation.kt:14)
at com.intellij.openapi.progress.CancellationKt.executeWithJobAndCompleteIt(cancellation.kt:111)
at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$2$1.run(cancellableReadAction.kt:34)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1152)
at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$2.run(cancellableReadAction.kt:32)
at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:158)
at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:30)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:80)
at com.intellij.openapi.application.rw.InternalReadAction.access$tryReadCancellable(InternalReadAction.kt:13)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadAction$2.invoke(InternalReadAction.kt:66)
at com.intellij.openapi.application.rw.InternalReadAction$tryReadAction$2.invoke(InternalReadAction.kt:13)
at com.intellij.openapi.progress.CancellationKt$sam$com_intellij_openapi_util_ThrowableComputable$0.compute(cancellation.kt)
at com.intellij.openapi.progress.Cancellation.withJob(Cancellation.java:60)
at com.intellij.openapi.progress.CancellationKt.withJob(cancellation.kt:14)
at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:138)
at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:61)
at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:53)
at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:13)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invokeSuspend(InternalReadAction.kt:33)
at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:264)
at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:32)
at com.intellij.openapi.application.rw.PlatformReadActionSupport.executeReadAction(PlatformReadActionSupport.kt:24)
at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:50)
at com.intellij.openapi.application.CoroutinesKt.readAction(coroutines.kt:20)
at com.intellij.lang.documentation.impl.ImplKt$computeDocumentation$2.invokeSuspend(impl.kt:30)
at com.intellij.lang.documentation.impl.ImplKt$computeDocumentation$2.invoke(impl.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.lang.documentation.impl.ImplKt.computeDocumentation(impl.kt:29)
at com.intellij.lang.documentation.ide.impl.DocumentationPage.loadPage(DocumentationPage.kt:32)
at com.intellij.lang.documentation.ide.impl.DocumentationBrowser.handleBrowserRequest(DocumentationBrowser.kt:92)
at com.intellij.lang.documentation.ide.impl.DocumentationBrowser.access$handleBrowserRequest(DocumentationBrowser.kt:25)
at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invokeSuspend(DocumentationBrowser.kt:52)
at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invoke(DocumentationBrowser.kt)
at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:217)
at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Merge.kt)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:34)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Merge.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$invokeSuspend$$inlined$collect$1.emit(Collect.kt:140)
at kotlinx.coroutines.flow.SharedFlowImpl.collect(SharedFlow.kt:351)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invokeSuspend(Merge.kt:101)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invoke(Merge.kt)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invoke(Merge.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:89)
at kotlinx.coroutines.flow.internal.FlowCoroutineKt.flowScope(FlowCoroutine.kt:33)
at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest.flowCollect(Merge.kt:25)
at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo$suspendImpl(ChannelFlow.kt:157)
at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo(ChannelFlow.kt)
at kotlinx.coroutines.flow.internal.ChannelFlow$collectToFun$1.invokeSuspend(ChannelFlow.kt:60)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Caused by: org.jetbrains.kotlin.resolve.lazy.NoDescriptorForDeclarationException: Descriptor wasn't found for declaration CLASS
at org.jetbrains.kotlin.idea.project.IdeaAbsentDescriptorHandler.diagnoseDescriptorNotFound(IdeaLocalDescriptorResolver.kt:36)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.findClassDescriptor(LazyDeclarationResolver.kt:88)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.getClassDescriptor(LazyDeclarationResolver.kt:62)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.getMemberScopeDeclaredIn$frontend(LazyDeclarationResolver.kt:227)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver$resolveToDescriptor$1.visitNamedFunction(LazyDeclarationResolver.kt:124)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver$resolveToDescriptor$1.visitNamedFunction(LazyDeclarationResolver.kt:94)
at org.jetbrains.kotlin.psi.KtNamedFunction.accept(KtNamedFunction.java:51)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.resolveToDescriptor(LazyDeclarationResolver.kt:94)
at org.jetbrains.kotlin.resolve.lazy.LazyDeclarationResolver.resolveToDescriptor(LazyDeclarationResolver.kt:91)
at org.jetbrains.kotlin.resolve.lazy.ResolveSession.resolveToDescriptor(ResolveSession.java:368)
at org.jetbrains.kotlin.idea.project.ResolveElementCache.resolveToElement(ResolveElementCache.kt:288)
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl$analyze$1.invoke(ModuleResolutionFacadeImpl.kt:48)
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl$analyze$1.invoke(ModuleResolutionFacadeImpl.kt:28)
at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runWithCancellationCheck(ApplicationUtils.kt:69)
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl.analyze(ModuleResolutionFacadeImpl.kt:47)
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyze(ResolutionFacadeWithDebugInfo.kt:44)
... 198 more
This issue has been automatically closed because it is not an issue for this project. If you think there are something really wrong, please reply this issue. Thanks for your cooperation.
:warning:
[Auto Generated Report]-=B7545870E927A657F34BEA49C1D746DA=-
Description
Kotlin resolution encountered a problem while analyzing KtNamedFunction
Environments
IntelliJ IDEA 2022.1.1 (Ultimate Edition) Build #IU-221.5591.52, built on May 11, 2022 Runtime version: 11.0.14.1+1-b2043.45 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Operating system: macOS 12.3.1 Last action id: Git.Branches
Stack Trace