You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.jetbrains.kotlin.idea.caches.resolve.KotlinIdeaResolutionException: Kotlin resolution encountered a problem while analyzing KtFile
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyzeWithAllCompilerChecks(ResolutionFacadeWithDebugInfo.kt:58)
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.analyzeWithAllCompilerChecks(ResolutionUtils.kt:171)
at org.jetbrains.kotlin.idea.highlighter.AbstractKotlinHighlightVisitor.analyze(AbstractKotlinHighlightVisitor.kt:105)
at org.jetbrains.kotlin.idea.highlighter.AbstractKotlinHighlightVisitor.analyze(AbstractKotlinHighlightVisitor.kt:63)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$8(GeneralHighlightingPass.java:309)
at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:93)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:276)
at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:221)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:97)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1154)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:608)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:683)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:639)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:607)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:392)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:368)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:174)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:215)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:184)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.AssertionError: Resolver for 'sdk with settings=PlatformAnalysisSettingsImpl(platform=JVM (16), sdk=17: version 17 (/opt/jdk17), isAdditionalBuiltInFeaturesSupported=true)' does not know how to resolve [JvmLibraryInfo(libraryName=Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.6.21, libraryRoots=[/home/raman/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.6.21/11ef67f1900634fd951bad28c53ec957fabbe5b8/kotlin-stdlib-1.6.21.jar])], allModules: [SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=17: version 17 (/opt/jdk17)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 21 Platform: java version "1.8.0_151" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 24 Platform: java version "1.8.0_151" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=11: java version "11" (/opt/jdk11)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=1.8 (OpenJDK): java version "1.8.0_191" (/usr/lib/jvm/java-1.8.0-openjdk)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Kotlin SDK: 1.3.30 ($KOTLIN_BUNDLED$)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=1.8: java version "1.8.0_221" (/opt/jdk1.8.0)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Python 3.7 (redock-devops) (/home/raman/.virtualenvs/redock-devops/bin/python)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 29 Platform: java version "1.8.0_151" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 30 Platform: java version "1.8.0_151" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 28 Platform: java version "1.8.0_151" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 30, S preview Platform: java version "11" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=1.8 (64 bit): java version "1.8.0_221" (/opt/jdk1.8.0)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=Android API 31 Platform: java version "11" (/home/raman/opt/android-sdk-linux)), SdkInfo(project=Project(name=xyz-backend, containerState=COMPONENT_CREATED, componentStore=/home/raman/source/xyz/xyz-backend), sdk=corretto-17: version 17 (/opt/jdk17))]
at org.jetbrains.kotlin.analyzer.DiagnoseUnknownModuleInfoReporter.errorInSdkResolver(AbstractResolverForProject.kt:314)
at org.jetbrains.kotlin.analyzer.DiagnoseUnknownModuleInfoReporter.report(AbstractResolverForProject.kt:285)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject.diagnoseUnknownModuleInfo(AbstractResolverForProject.kt:158)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject.checkModuleIsCorrect(AbstractResolverForProject.kt:163)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject.descriptorForModule(AbstractResolverForProject.kt:149)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject.descriptorForModule(AbstractResolverForProject.kt:17)
at org.jetbrains.kotlin.caches.resolve.JvmPlatformKindResolution$createBuiltinsFromModuleDependencies$$inlined$apply$lambda$1.invoke(JvmPlatformKindResolution.kt:112)
at org.jetbrains.kotlin.caches.resolve.JvmPlatformKindResolution$createBuiltinsFromModuleDependencies$$inlined$apply$lambda$1.invoke(JvmPlatformKindResolution.kt:35)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:408)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:527)
at org.jetbrains.kotlin.builtins.KotlinBuiltIns.getBuiltInsModule(KotlinBuiltIns.java:172)
at org.jetbrains.kotlin.builtins.jvm.JvmBuiltIns$customizer$2.invoke(JvmBuiltIns.kt:77)
at org.jetbrains.kotlin.builtins.jvm.JvmBuiltIns$customizer$2.invoke(JvmBuiltIns.kt:75)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedLazyValue.invoke(LockBasedStorageManager.java:408)
at org.jetbrains.kotlin.storage.LockBasedStorageManager$LockBasedNotNullLazyValue.invoke(LockBasedStorageManager.java:527)
at org.jetbrains.kotlin.storage.StorageKt.getValue(storage.kt:42)
at org.jetbrains.kotlin.builtins.jvm.JvmBuiltIns.getCustomizer(JvmBuiltIns.kt:75)
at org.jetbrains.kotlin.load.kotlin.DeserializationComponentsForJava.<init>(DeserializationComponentsForJava.kt:80)
at jdk.internal.reflect.GeneratedConstructorAccessor856.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.jetbrains.kotlin.container.SingletonTypeComponentDescriptor.createInstanceOf(Singletons.kt:135)
at org.jetbrains.kotlin.container.SingletonTypeComponentDescriptor.createInstance(Singletons.kt:120)
at org.jetbrains.kotlin.container.SingletonDescriptor.createInstance(Singletons.kt:57)
at org.jetbrains.kotlin.container.SingletonDescriptor.getValue(Singletons.kt:42)
at org.jetbrains.kotlin.container.ComponentStorage.injectProperties(Storage.kt:155)
at org.jetbrains.kotlin.container.ComponentStorage.composeDescriptors(Storage.kt:149)
at org.jetbrains.kotlin.container.ComponentStorage.compose(Storage.kt:138)
at org.jetbrains.kotlin.container.StorageComponentContainer.compose(Container.kt:58)
at org.jetbrains.kotlin.container.DslKt.composeContainer(Dsl.kt:24)
at org.jetbrains.kotlin.resolve.PlatformConfiguratorBaseKt.createContainer(PlatformConfiguratorBase.kt:147)
at org.jetbrains.kotlin.frontend.java.di.InjectionKt.createContainerForLazyResolveWithJava(injection.kt:75)
at org.jetbrains.kotlin.frontend.java.di.InjectionKt.createContainerForLazyResolveWithJava$default(injection.kt:56)
at org.jetbrains.kotlin.resolve.jvm.JvmResolverForModuleFactory.createResolverForModule(JvmResolverForModuleFactory.kt:107)
at org.jetbrains.kotlin.idea.caches.resolve.IdeaResolverForProject.createResolverForModule(IdeaResolverForProject.kt:125)
at org.jetbrains.kotlin.idea.caches.resolve.IdeaResolverForProject.createResolverForModule(IdeaResolverForProject.kt:42)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject$resolverForModuleDescriptorImpl$1.invoke(AbstractResolverForProject.kt:138)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject$resolverForModuleDescriptorImpl$1.invoke(AbstractResolverForProject.kt:125)
at org.jetbrains.kotlin.storage.LockBasedStorageManager.compute(LockBasedStorageManager.java:290)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject.resolverForModuleDescriptorImpl(AbstractResolverForProject.kt:125)
at org.jetbrains.kotlin.analyzer.AbstractResolverForProject.resolverForModuleDescriptor(AbstractResolverForProject.kt:96)
at org.jetbrains.kotlin.analyzer.ResolverForProject.resolverForModule(AnalyzerFacade.kt:45)
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade$analysisResults$1$results$1.createValue(ProjectResolutionFacade.kt:69)
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade$analysisResults$1$results$1.createValue(ProjectResolutionFacade.kt:63)
at com.intellij.util.containers.SLRUCache.get(SLRUCache.java:47)
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade$analysisResults$1$results$1.get(ProjectResolutionFacade.kt:76)
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade$analysisResults$1$results$1.get(ProjectResolutionFacade.kt:63)
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade.analysisResultForElement(ProjectResolutionFacade.kt:194)
at org.jetbrains.kotlin.idea.caches.resolve.ProjectResolutionFacade.getAnalysisResultsForElement$kotlin_core(ProjectResolutionFacade.kt:178)
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl$analyzeWithAllCompilerChecks$1.invoke(ModuleResolutionFacadeImpl.kt:68)
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl$analyzeWithAllCompilerChecks$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:52)
at org.jetbrains.kotlin.idea.caches.resolve.ModuleResolutionFacadeImpl.analyzeWithAllCompilerChecks(ModuleResolutionFacadeImpl.kt:67)
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacadeWithDebugInfo.analyzeWithAllCompilerChecks(ResolutionFacadeWithDebugInfo.kt:59)
... 30 more
The text was updated successfully, but these errors were encountered:
Bug description
Just the usual editing.
Environment
Stacktrace
The text was updated successfully, but these errors were encountered: