zio / zio-intellij

A companion IntelliJ IDEA plugin for the ZIO library ecosystem.
Apache License 2.0
214 stars 41 forks source link

Unhandled exception in 2024.2 EAP #475

Open kyri-petrou opened 5 months ago

kyri-petrou commented 5 months ago

NOTE: The PR / description was auto-generated by IntelliJ, but thought to open it in case this is something that needs to be addressed


The following exceptions(s) occurred in the ZIO for IntelliJ plugin:

java.lang.NoSuchMethodError: 'org.jetbrains.plugins.scala.lang.psi.types.api.ValueType org.jetbrains.plugins.scala.lang.psi.types.api.ParameterizedType$.apply(org.jetbrains.plugins.scala.lang.psi.types.ScType, scala.collection.immutable.Seq)'
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$.$anonfun$check$3(SuggestTypeAlias.scala:109)
    at scala.Option.map(Option.scala:242)
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$.$anonfun$check$2(SuggestTypeAlias.scala:109)
    at scala.Option.flatMap(Option.scala:283)
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$.check(SuggestTypeAlias.scala:106)
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$.conforms(SuggestTypeAlias.scala:101)
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$$anonfun$1.applyOrElse(SuggestTypeAlias.scala:85)
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$$anonfun$1.applyOrElse(SuggestTypeAlias.scala:84)
    at scala.collection.immutable.List.collect(List.scala:276)
    at zio.intellij.intentions.suggestions.SuggestTypeAlias$.findMatchingAliases(SuggestTypeAlias.scala:84)
    at zio.intellij.inspections.suggestions.SuggestTypeAliasInspection.zio$intellij$inspections$suggestions$SuggestTypeAliasInspection$$$anonfun$buildVisitor$1(SuggestTypeAliasInspection.scala:25)
    at zio.intellij.inspections.suggestions.SuggestTypeAliasInspection$$anonfun$buildVisitor$9.visitPsiElement(SuggestTypeAliasInspection.scala:21)
    at org.jetbrains.plugins.scala.codeInspection.package$PsiElementVisitorSimple.visitElement(package.scala:100)
    at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.org$jetbrains$plugins$scala$lang$psi$api$ScalaPsiElement$$super$accept(ScalaPsiElementImpl.scala:21)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept(ScalaPsiElement.scala:108)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept$(ScalaPsiElement.scala:106)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.accept(ScalaPsiElementImpl.scala:21)
    at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.lambda$acceptElements$1(InspectionVisitorOptimizer.java:187)
    at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.acceptElements(InspectionVisitorOptimizer.java:197)
    at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.acceptElements(InspectionVisitorOptimizer.java:187)
    at com.intellij.codeInspection.InspectionEngine.lambda$inspectElements$8(InspectionEngine.java:284)
    at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
    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:959)
    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.lambda$compute$0(ApplierCompleter.java:86)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:179)
    at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:86)
    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)

Additional information:

ZIO plugin version: 2024.2.33.1440 Scala plugin version: 2024.2.422 ZIO version(s): 2.1.3 Scala version(s): 2.13.14 sbt version: 1.10.0 IntelliJ version: IntelliJ IDEA 2024.2 EAP Build #IU-242.16677.21 Java version: 21.0.3+13-b480.1 Operating System: aarch64 Mac OS X (14.5, aarch64) JVM version: OpenJDK 64-Bit Server VM JetBrains s.r.o.
hmemcpy commented 5 months ago

Ooh, thank you! I'll look into it.

hmemcpy commented 5 months ago

Looks like there's some API change, but it's currently only in the nighly build of the Scala plugin. I'll wait a few days until it gets released in the stable channel, this should break the CI and I'll be able to fix it then.

Thanks again for reporting!

nafg commented 5 months ago

Would be nice if more plugins were available on EAP ;)

hmemcpy commented 5 months ago

Sorry for the delays, but they only just now released the version that removes this particular API, so I can finally fix it!

image

kyri-petrou commented 5 months ago

No stress! Thanks for looking into it!

Dr-Nikson commented 3 months ago

Same issue. Happens quite often, I'd say -- systematically. Intelij IDEA 2024.2 (242.20224.300)

hmemcpy commented 3 months ago

Not great... I'll try figuring out what broke 😔

kyri-petrou commented 3 months ago

@Dr-Nikson That's bizarre, I don't have this issue anymore 🤔

hmemcpy commented 3 months ago

Ah, I thought I was looking at another issue (on my phone currently).

Please upgrade everything. The 2024.2 was released a few days ago, it should no longer have this problem.

If it persists, please write the exact IntelliJ and the Scala plugin version you're using.

Dr-Nikson commented 3 months ago

Two exceptions at the same time:

IntelliJ IDEA 2024.2.0.2 (Ultimate Edition)
Build #IU-242.20224.419, built on August 19, 2024
Runtime version: 21.0.3+13-b509.4 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 13.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 5000M
Cores: 8
Metal Rendering is ON
Registry:
  ide.balloon.shadow.size=0
  editor.distraction.free.mode=true
  debugger.new.tool.window.layout=true
  ide.new.editor.tabs.vertical.borders=true
  ide.experimental.ui=true
  ide.editor.tab.selection.animation=true
  scala.erase.compiler.process.jdk.once=false
  terminal.new.ui=true
Non-Bundled Plugins:
  org.jetbrains.intellij.scripting-javascript (1.3)
  com.jetbrains.space (242.20224.155)
  com.vermouthx.idea (1.16.0)
  com.tylerthrailkill.intellij.solarized (3.0.0)
  com.intellij.ml.llm (242.20224.424)
  com.intellij.grazie.pro (0.3.326)
  com.intellij.bigdatatools.core (242.20224.419)
  no.eirikb.avatest (1.16.0)
  com.chrisrm.idea.MaterialThemeUI (9.4.1)
  ru.adelf.idea.dotenv (2024.2.1)
  me.serce.solidity (2.4.4)
  com.github.copilot (1.5.20.6554)
  com.mallowigi (97.0.0)
  org.intellij.scala (2024.2.582)
  zio.intellij.zio-intellij (2024.2.34.1)
  com.intellij.bigdatatools.kafka (242.20224.159)
Kotlin: 242.20224.419-IJ
com.intellij.openapi.progress.IndicatorCancellationException

java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.openapi.progress.CeProcessCanceledException) should never be logged. Instead, these should have been rethrown if caught.
    at com.intellij.openapi.diagnostic.Logger.ensureNotControlFlow(Logger.java:493)
    at com.intellij.idea.IdeaLogger.doLogError(IdeaLogger.java:154)
    at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:145)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:436)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService.lambda$submit$1(PassExecutorService.java:337)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:200)
    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)
Caused by: com.intellij.openapi.progress.CeProcessCanceledException: com.intellij.openapi.progress.IndicatorCancellationException
    at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:1692)
    at com.intellij.serviceContainer.ComponentManagerImplKt$runBlockingInitialization$1.invoke(ComponentManagerImpl.kt:1677)
    at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext$lambda$5(context.kt:109)
    at com.intellij.openapi.progress.impl.CoreProgressManager.silenceGlobalIndicator(CoreProgressManager.java:1027)
    at com.intellij.openapi.progress.ContextKt.prepareIndicatorThreadContext(context.kt:107)
    at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:77)
    at com.intellij.serviceContainer.ComponentManagerImplKt.runBlockingInitialization(ComponentManagerImpl.kt:1677)
    at com.intellij.serviceContainer.ComponentManagerImplKt.doGetOrCreateInstanceBlocking(ComponentManagerImpl.kt:1567)
    at com.intellij.serviceContainer.ComponentManagerImplKt.getOrCreateInstanceBlocking(ComponentManagerImpl.kt:1562)
    at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:746)
    at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:690)
    at com.intellij.ide.plugins.PluginUtil.getInstance(PluginUtil.java:13)
    at com.intellij.diagnostic.DefaultIdeaErrorLogger.canHandle(DefaultIdeaErrorLogger.java:39)
    at com.intellij.diagnostic.DialogAppender.queueAppend(DialogAppender.kt:76)
    at com.intellij.diagnostic.DialogAppender.publish(DialogAppender.kt:48)
    at java.logging/java.util.logging.Logger.log(Logger.java:983)
    at java.logging/java.util.logging.Logger.doLog(Logger.java:1010)
    at java.logging/java.util.logging.Logger.log(Logger.java:1121)
    at com.intellij.idea.IdeaLogger.doLogError(IdeaLogger.java:169)
    at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:145)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:436)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:443)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:404)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:403)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:379)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:379)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:179)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:377)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    ... 5 more
Caused by: com.intellij.openapi.progress.IndicatorCancellationException
    at com.intellij.openapi.progress.ContextKt$cancelWithIndicator$1.invokeSuspend(context.kt:135)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
    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)
Caused by: com.intellij.openapi.progress.ProcessCanceledException: java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.plugins.scala.codeInspection.collections.package$.invocationText(org.jetbrains.plugins.scala.lang.psi.api.expr.ScExpression, java.lang.String, scala.collection.immutable.Seq)'
    at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.throwIfCanceled(AbstractProgressIndicatorBase.java:172)
    at com.intellij.openapi.progress.util.AbstractProgressIndicatorBase.checkCanceled(AbstractProgressIndicatorBase.java:162)
    at com.intellij.codeInsight.daemon.impl.DaemonProgressIndicator.checkCanceled(DaemonProgressIndicator.java:107)
    at com.intellij.openapi.progress.ContextKt$cancelWithIndicator$1.invokeSuspend(context.kt:131)
    ... 8 more
Caused by: java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.plugins.scala.codeInspection.collections.package$.invocationText(org.jetbrains.plugins.scala.lang.psi.api.expr.ScExpression, java.lang.String, scala.collection.immutable.Seq)'
    at zio.intellij.inspections.simplifications.BaseZipOneSimplificationType.getSimplification(SimplifyZipInspection.scala:21)
    at zio.intellij.inspections.ZInspection.$anonfun$simplifications$4(ZInspection.scala:50)
    at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:118)
    at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:105)
    at scala.collection.immutable.ArraySeq.flatMap(ArraySeq.scala:35)
    at zio.intellij.inspections.ZInspection.simplifications(ZInspection.scala:50)
    at zio.intellij.inspections.ZInspection.zio$intellij$inspections$ZInspection$$$anonfun$buildVisitor$1(ZInspection.scala:30)
    at zio.intellij.inspections.ZInspection$$anonfun$buildVisitor$3.visitPsiElement(ZInspection.scala:28)
    at org.jetbrains.plugins.scala.codeInspection.package$PsiElementVisitorSimple.visitElement(package.scala:100)
    at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.org$jetbrains$plugins$scala$lang$psi$api$ScalaPsiElement$$super$accept(ScalaPsiElementImpl.scala:23)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept(ScalaPsiElement.scala:108)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept$(ScalaPsiElement.scala:106)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.accept(ScalaPsiElementImpl.scala:23)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner$InspectionProblemHolder.visitElement(InspectionRunner.java:598)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processContext$20(InspectionRunner.java:415)
    at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.acceptElements(InspectionVisitorOptimizer.java:197)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.processContext(InspectionRunner.java:413)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$7(InspectionRunner.java:192)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:279)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:965)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$17(InspectionRunner.java:394)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:158)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:150)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$18(InspectionRunner.java:385)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:129)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:118)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.executeInImpatientReadAction(InspectionRunner.java:385)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$8(InspectionRunner.java:191)
    at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:494)
    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.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:483)
    at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:471)
    at com.intellij.concurrency.JobLauncherImpl$2.compute(JobLauncherImpl.java:456)
    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.ForkJoinTask.invoke(ForkJoinTask.java:676)
    at com.intellij.concurrency.JobLauncherImpl.procInOrderAsync(JobLauncherImpl.java:554)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$12(InspectionRunner.java:202)
    at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:205)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:162)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:140)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:418)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:413)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:404)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:403)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:379)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:379)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:179)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:377)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    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)
java.lang.NoSuchMethodError
    at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
    at java.base/java.util.concurrent.ForkJoinTask.getException(ForkJoinTask.java:557)
    at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:573)
    at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:663)
    at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:677)
    at com.intellij.concurrency.JobLauncherImpl.procInOrderAsync(JobLauncherImpl.java:554)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$12(InspectionRunner.java:202)
    at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:205)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:162)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:140)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:418)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:413)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:404)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:403)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:379)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:379)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:179)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:377)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    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)
Caused by: java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.plugins.scala.codeInspection.collections.package$.invocationText(org.jetbrains.plugins.scala.lang.psi.api.expr.ScExpression, java.lang.String, scala.collection.immutable.Seq)'
    at zio.intellij.inspections.simplifications.BaseZipOneSimplificationType.getSimplification(SimplifyZipInspection.scala:21)
    at zio.intellij.inspections.ZInspection.$anonfun$simplifications$4(ZInspection.scala:50)
    at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:118)
    at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:105)
    at scala.collection.immutable.ArraySeq.flatMap(ArraySeq.scala:35)
    at zio.intellij.inspections.ZInspection.simplifications(ZInspection.scala:50)
    at zio.intellij.inspections.ZInspection.zio$intellij$inspections$ZInspection$$$anonfun$buildVisitor$1(ZInspection.scala:30)
    at zio.intellij.inspections.ZInspection$$anonfun$buildVisitor$3.visitPsiElement(ZInspection.scala:28)
    at org.jetbrains.plugins.scala.codeInspection.package$PsiElementVisitorSimple.visitElement(package.scala:100)
    at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.org$jetbrains$plugins$scala$lang$psi$api$ScalaPsiElement$$super$accept(ScalaPsiElementImpl.scala:23)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept(ScalaPsiElement.scala:108)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept$(ScalaPsiElement.scala:106)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.accept(ScalaPsiElementImpl.scala:23)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner$InspectionProblemHolder.visitElement(InspectionRunner.java:598)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processContext$20(InspectionRunner.java:415)
    at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.acceptElements(InspectionVisitorOptimizer.java:197)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.processContext(InspectionRunner.java:413)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$7(InspectionRunner.java:192)
    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.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$17(InspectionRunner.java:394)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:158)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:150)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$18(InspectionRunner.java:385)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:129)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:118)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.executeInImpatientReadAction(InspectionRunner.java:385)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$8(InspectionRunner.java:191)
    at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:494)
    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.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:483)
    at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:471)
    at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1602)
    ... 5 more
disordered commented 2 months ago

Tried reinstalling plugin, clearing caches, etc. Still getting exceptions on all simplification inspections. For example ZIO.succeed("").map(_ => ()) will trigger this exception:

java.lang.NoSuchMethodError
    at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
    at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
    at java.base/java.util.concurrent.ForkJoinTask.getException(ForkJoinTask.java:557)
    at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:573)
    at java.base/java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:663)
    at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:677)
    at com.intellij.concurrency.JobLauncherImpl.procInOrderAsync(JobLauncherImpl.java:554)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$12(InspectionRunner.java:202)
    at com.intellij.codeInspection.InspectionEngine.withSession(InspectionEngine.java:205)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.inspect(InspectionRunner.java:162)
    at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:140)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:57)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:418)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.runWithSpanIgnoreThrows(trace.kt:118)
    at com.intellij.platform.diagnostic.telemetry.helpers.TraceUtil.runWithSpanThrows(TraceUtil.java:36)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:413)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:404)
    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.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:403)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:379)
    at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:802)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:379)
    at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:486)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:377)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:190)
    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)
Caused by: java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.plugins.scala.codeInspection.collections.package$.invocationText(org.jetbrains.plugins.scala.lang.psi.api.expr.ScExpression, java.lang.String, scala.collection.immutable.Seq)'
    at zio.intellij.inspections.simplifications.AsSimplificationType$.replacement$1(SimplifyMapInspection.scala:16)
    at zio.intellij.inspections.simplifications.AsSimplificationType$.getSimplification(SimplifyMapInspection.scala:18)
    at zio.intellij.inspections.ZInspection.$anonfun$simplifications$4(ZInspection.scala:50)
    at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:118)
    at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:105)
    at scala.collection.immutable.ArraySeq.flatMap(ArraySeq.scala:35)
    at zio.intellij.inspections.ZInspection.simplifications(ZInspection.scala:50)
    at zio.intellij.inspections.ZInspection.zio$intellij$inspections$ZInspection$$$anonfun$buildVisitor$1(ZInspection.scala:30)
    at zio.intellij.inspections.ZInspection$$anonfun$buildVisitor$3.visitPsiElement(ZInspection.scala:28)
    at org.jetbrains.plugins.scala.codeInspection.package$PsiElementVisitorSimple.visitElement(package.scala:100)
    at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:270)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.org$jetbrains$plugins$scala$lang$psi$api$ScalaPsiElement$$super$accept(ScalaPsiElementImpl.scala:23)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept(ScalaPsiElement.scala:108)
    at org.jetbrains.plugins.scala.lang.psi.api.ScalaPsiElement.accept$(ScalaPsiElement.scala:106)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiElementImpl.accept(ScalaPsiElementImpl.scala:23)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner$InspectionProblemHolder.visitElement(InspectionRunner.java:598)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$processContext$20(InspectionRunner.java:415)
    at com.intellij.codeInsight.daemon.impl.InspectionVisitorOptimizer.acceptElements(InspectionVisitorOptimizer.java:197)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.processContext(InspectionRunner.java:413)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$7(InspectionRunner.java:192)
    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.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$17(InspectionRunner.java:394)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:158)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:150)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$executeInImpatientReadAction$18(InspectionRunner.java:385)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:129)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:118)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.executeInImpatientReadAction(InspectionRunner.java:385)
    at com.intellij.codeInsight.daemon.impl.InspectionRunner.lambda$inspect$8(InspectionRunner.java:191)
    at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.lambda$call$0(JobLauncherImpl.java:494)
    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.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:483)
    at com.intellij.concurrency.JobLauncherImpl$2MyProcessQueueTask.call(JobLauncherImpl.java:471)
    at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1602)
    ... 5 more

Other times it just starts insistently throwing this:

Unexpected exception occurred during doc info generation

java.lang.ClassCastException: class zio.intellij.utils.ZioVersion$$anon$1 cannot be cast to class zio.intellij.utils.ZioVersion (zio.intellij.utils.ZioVersion$$anon$1 is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @6379227f; zio.intellij.utils.ZioVersion is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @6360a097)
    at scala.Option.exists(Option.scala:406)
    at zio.intellij.utils.package$ModuleSyntax$.isZio2$extension(package.scala:278)
    at zio.intellij.utils.package$PsiElementSyntax$.$anonfun$isZio2$2(package.scala:309)
    at zio.intellij.utils.package$PsiElementSyntax$.$anonfun$isZio2$2$adapted(package.scala:309)
    at scala.Option.exists(Option.scala:406)
    at zio.intellij.utils.package$PsiElementSyntax$.isZio2$extension(package.scala:309)
    at zio.intellij.synthetic.macros.MockableInjector$.findMacroAnnotationTypeElement(MockableInjector.scala:54)
    at zio.intellij.synthetic.macros.MockableInjector.injectSupers(MockableInjector.scala:20)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.SyntheticMembersInjector$.$anonfun$injectSupers$1(SyntheticMembersInjector.scala:150)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.SyntheticMembersInjector$.$anonfun$injectSupers$1$adapted(SyntheticMembersInjector.scala:149)
    at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619)
    at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:935)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.SyntheticMembersInjector$.injectSupers(SyntheticMembersInjector.scala:149)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.templates.ScExtendsBlockImpl.$anonfun$_syntheticTypeElements$2(ScExtendsBlockImpl.scala:150)
    at org.jetbrains.plugins.scala.caches.Cache0.apply(Cache0.scala:28)
    at org.jetbrains.plugins.scala.caches.package$.$anonfun$cached$1(package.scala:15)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.templates.ScExtendsBlockImpl.syntheticTypeElements(ScExtendsBlockImpl.scala:145)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.templates.ScExtendsBlockImpl.$anonfun$superTypes$2(ScExtendsBlockImpl.scala:78)
    at org.jetbrains.plugins.scala.caches.CacheInUserData$.cacheInUserData0(CacheInUserData.scala:22)
    at org.jetbrains.plugins.scala.caches.package$.cachedInUserData(package.scala:56)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.templates.ScExtendsBlockImpl.superTypes(ScExtendsBlockImpl.scala:63)
    at org.jetbrains.plugins.scala.lang.psi.api.toplevel.typedef.ScTemplateDefinition.superTypes(ScTemplateDefinition.scala:59)
    at org.jetbrains.plugins.scala.lang.psi.api.toplevel.typedef.ScTemplateDefinition.superTypes$(ScTemplateDefinition.scala:59)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.ScTemplateDefinitionImpl.superTypes(ScTemplateDefinitionImpl.scala:50)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes$.$anonfun$linearization$3(MixinNodes.scala:507)
    at org.jetbrains.plugins.scala.caches.CacheWithRecursionGuard$.liftedTree1$1(CacheWithRecursionGuard.scala:39)
    at org.jetbrains.plugins.scala.caches.CacheWithRecursionGuard$.cacheWithRecursionGuard0(CacheWithRecursionGuard.scala:37)
    at org.jetbrains.plugins.scala.caches.package$.cachedWithRecursionGuard(package.scala:64)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes$.linearization(MixinNodes.scala:487)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes$SuperTypesData$.$anonfun$apply$2(MixinNodes.scala:134)
    at org.jetbrains.plugins.scala.caches.CacheInUserData$.cacheInUserDataN(CacheInUserData.scala:57)
    at org.jetbrains.plugins.scala.caches.package$.cachedInUserData(package.scala:59)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes$SuperTypesData$.apply(MixinNodes.scala:130)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes.build0$1(MixinNodes.scala:52)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes.$anonfun$build$1(MixinNodes.scala:66)
    at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:129)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.MixinNodes.build(MixinNodes.scala:66)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiManager$SignatureCaches.$anonfun$cachedMap$2(ScalaPsiManager.scala:641)
    at org.jetbrains.plugins.scala.caches.CacheInUserData$.cacheInUserDataN(CacheInUserData.scala:57)
    at org.jetbrains.plugins.scala.caches.package$.cachedInUserData(package.scala:59)
    at org.jetbrains.plugins.scala.lang.psi.impl.ScalaPsiManager$SignatureCaches.cachedMap(ScalaPsiManager.scala:640)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$.$anonfun$getStableSignatures$1(TypeDefinitionMembers.scala:54)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$.ifValid(TypeDefinitionMembers.scala:73)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$.getStableSignatures(TypeDefinitionMembers.scala:54)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$AllSignatures$ClassSignatures.stable(TypeDefinitionMembers.scala:278)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$.privateProcessDeclarations(TypeDefinitionMembers.scala:379)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$.processDeclarationsInner$1(TypeDefinitionMembers.scala:177)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.TypeDefinitionMembers$.processClassDeclarations(TypeDefinitionMembers.scala:181)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.ScTemplateDefinitionImpl.processDeclarationsForTemplateBody(ScTemplateDefinitionImpl.scala:383)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.typedef.ScClassImpl.processDeclarationsForTemplateBody(ScClassImpl.scala:76)
    at org.jetbrains.plugins.scala.lang.psi.impl.toplevel.templates.ScTemplateBodyImpl.processDeclarations(ScTemplateBodyImpl.scala:80)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.ScStableCodeReferenceImpl.treeWalkUp$1(ScStableCodeReferenceImpl.scala:387)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.ScStableCodeReferenceImpl.processQualifier(ScStableCodeReferenceImpl.scala:409)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.ScStableCodeReferenceImpl.doResolve(ScStableCodeReferenceImpl.scala:611)
    at org.jetbrains.plugins.scala.lang.resolve.StableCodeReferenceResolver.resolve(StableCodeReferenceResolver.scala:47)
    at org.jetbrains.plugins.scala.lang.resolve.ResolvableStableCodeReference$Ext$.$anonfun$resolveNoConstructor$extension$3(ResolvableStableCodeReference.scala:53)
    at org.jetbrains.plugins.scala.caches.CacheWithRecursionGuard$.liftedTree1$1(CacheWithRecursionGuard.scala:39)
    at org.jetbrains.plugins.scala.caches.CacheWithRecursionGuard$.cacheWithRecursionGuard0(CacheWithRecursionGuard.scala:37)
    at org.jetbrains.plugins.scala.caches.package$.cachedWithRecursionGuard(package.scala:64)
    at org.jetbrains.plugins.scala.lang.resolve.ResolvableStableCodeReference$Ext$.resolveNoConstructor$extension(ResolvableStableCodeReference.scala:50)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.types.ScSimpleTypeElementImpl.innerNonValueType(ScSimpleTypeElementImpl.scala:316)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.types.ScSimpleTypeElementImpl.innerType(ScSimpleTypeElementImpl.scala:37)
    at org.jetbrains.plugins.scala.lang.psi.api.base.types.ScTypeElement.$anonfun$getType$3(ScTypeElement.scala:33)
    at org.jetbrains.plugins.scala.caches.CacheWithRecursionGuard$.liftedTree1$1(CacheWithRecursionGuard.scala:39)
    at org.jetbrains.plugins.scala.caches.CacheWithRecursionGuard$.cacheWithRecursionGuard0(CacheWithRecursionGuard.scala:37)
    at org.jetbrains.plugins.scala.caches.package$.cachedWithRecursionGuard(package.scala:64)
    at org.jetbrains.plugins.scala.lang.psi.api.base.types.ScTypeElement.getType(ScTypeElement.scala:33)
    at org.jetbrains.plugins.scala.lang.psi.api.base.types.ScTypeElement.getType$(ScTypeElement.scala:26)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.types.ScSimpleTypeElementImpl.getType(ScSimpleTypeElementImpl.scala:35)
    at org.jetbrains.plugins.scala.lang.psi.api.base.types.ScTypeElement.type(ScTypeElement.scala:22)
    at org.jetbrains.plugins.scala.lang.psi.api.base.types.ScTypeElement.type$(ScTypeElement.scala:22)
    at org.jetbrains.plugins.scala.lang.psi.impl.base.types.ScSimpleTypeElementImpl.type(ScSimpleTypeElementImpl.scala:35)
    at org.jetbrains.plugins.scala.lang.psi.impl.statements.params.ScParameterImpl.type(ScParameterImpl.scala:132)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.TypeAnnotationRenderer.typeAnnotation(TypeAnnotationRenderer.scala:60)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.TypeAnnotationRenderer.renderType(TypeAnnotationRenderer.scala:34)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.TypeAnnotationRenderer.renderWithoutColon(TypeAnnotationRenderer.scala:23)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.TypeAnnotationRenderer.render(TypeAnnotationRenderer.scala:19)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParameterRenderer.renderParameterNameAndType(ParameterRenderer.scala:72)
    at org.jetbrains.plugins.scala.editor.documentationProvider.renderers.ScalaDocParameterRenderer.render(ScalaDocParametersRenderer.scala:40)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.$anonfun$renderParameters$1(ParametersRenderer.scala:61)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.$anonfun$renderParameters$1$adapted(ParametersRenderer.scala:56)
    at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619)
    at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:935)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.renderParameters(ParametersRenderer.scala:56)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.renderClause(ParametersRenderer.scala:39)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.$anonfun$renderClauses$1(ParametersRenderer.scala:26)
    at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:619)
    at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:617)
    at scala.collection.AbstractIterable.foreach(Iterable.scala:935)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.renderClauses(ParametersRenderer.scala:25)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.renderClauses(ParametersRenderer.scala:20)
    at org.jetbrains.plugins.scala.lang.psi.types.api.presentation.ParametersRenderer.renderClauses(ParametersRenderer.scala:16)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator.appendDeclMainSection2(ScalaDocDefinitionGenerator.scala:125)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator.appendDeclMainSection(ScalaDocDefinitionGenerator.scala:78)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator.$anonfun$appendFunction$1(ScalaDocDefinitionGenerator.scala:168)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator.appendDefinitionSection(ScalaDocDefinitionGenerator.scala:60)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator.appendFunction(ScalaDocDefinitionGenerator.scala:166)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator.org$jetbrains$plugins$scala$editor$documentationProvider$ScalaDocDefinitionGenerator$$generate(ScalaDocDefinitionGenerator.scala:50)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocDefinitionGenerator$.generate(ScalaDocDefinitionGenerator.scala:32)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocGenerator$.$anonfun$generateDoc$1(ScalaDocGenerator.scala:53)
    at scala.util.Try$.apply(Try.scala:217)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocGenerator$.internalLog(ScalaDocGenerator.scala:35)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocGenerator$.generateDoc(ScalaDocGenerator.scala:47)
    at org.jetbrains.plugins.scala.editor.documentationProvider.ScalaDocumentationProvider.generateDoc(ScalaDocumentationProvider.scala:84)
    at com.intellij.lang.documentation.DocumentationProvider.getDocumentationParts(DocumentationProvider.java:199)
    at com.intellij.lang.documentation.CompositeDocumentationProvider.getDocumentationParts(CompositeDocumentationProvider.java:295)
    at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.localDocParts(PsiElementDocumentationTarget.kt:115)
    at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.localDoc(PsiElementDocumentationTarget.kt:98)
    at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.doComputeDocumentation(PsiElementDocumentationTarget.kt:85)
    at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget.access$doComputeDocumentation(PsiElementDocumentationTarget.kt:29)
    at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget$computeDocumentation$1.invoke(PsiElementDocumentationTarget.kt:79)
    at com.intellij.lang.documentation.psi.PsiElementDocumentationTarget$computeDocumentation$1.invoke(PsiElementDocumentationTarget.kt:78)
    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.lang.documentation.psi.PsiElementDocumentationTarget.computeDocumentation(PsiElementDocumentationTarget.kt:78)
    at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2$documentationResult$1.invoke(impl.kt:30)
    at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2$documentationResult$1.invoke(impl.kt:29)
    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$runReadAction$4.invokeSuspend(InternalReadAction.kt:43)
    at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt)
    at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:39)
    at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:38)
    at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15)
    at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:58)
    at com.intellij.openapi.application.CoroutinesKt.readAction(coroutines.kt:25)
    at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invokeSuspend(impl.kt:29)
    at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invoke(impl.kt)
    at com.intellij.platform.backend.documentation.impl.ImplKt$computeDocumentation$2.invoke(impl.kt)
    at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
    at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
    at com.intellij.platform.backend.documentation.impl.ImplKt.computeDocumentation(impl.kt:28)
    at com.intellij.lang.documentation.ide.impl.DocumentationPage.loadPage(DocumentationPage.kt:41)
    at com.intellij.lang.documentation.ide.impl.DocumentationBrowser.handleBrowserRequest(DocumentationBrowser.kt:104)
    at com.intellij.lang.documentation.ide.impl.DocumentationBrowser.access$handleBrowserRequest(DocumentationBrowser.kt:28)
    at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invokeSuspend(DocumentationBrowser.kt:56)
    at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invoke(DocumentationBrowser.kt)
    at com.intellij.lang.documentation.ide.impl.DocumentationBrowser$1$1.invoke(DocumentationBrowser.kt)
    at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:213)
    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:30)
    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:27)
    at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:90)
    at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
    at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
    at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:29)
    at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:392)
    at kotlinx.coroutines.flow.SharedFlowImpl.collect(SharedFlow.kt)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3.invokeSuspend(Merge.kt:23)
    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:62)
    at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
    at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest.flowCollect(Merge.kt:21)
    at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo$suspendImpl(ChannelFlow.kt:153)
    at kotlinx.coroutines.flow.internal.ChannelFlowOperator.collectTo(ChannelFlow.kt)
    at kotlinx.coroutines.flow.internal.ChannelFlow$collectToFun$1.invokeSuspend(ChannelFlow.kt:56)
    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)
    Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(DocumentationBrowser requests), StandaloneCoroutine{Cancelled}@3ce9f968, Dispatchers.Default]

These exceptions occur non-stop, I accumulate hundreds of them per session. And ZIO inspections don't work at all.

ZIO 2.1.11 Scala 3.4.2

IntelliJ IDEA 2024.2.1 (Community Edition)
Build #IC-242.21829.142, built on August 28, 2024
Runtime version: 21.0.3+13-b509.11 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
Kotlin analyzer version: 2.0.20-ij242-31
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 10
Metal Rendering is ON
Registry:
  debugger.new.tool.window.layout=true
  ide.experimental.ui=true
  i18n.locale=
  scala.erase.compiler.process.jdk.once=false
Non-Bundled Plugins:
  com.github.catppuccin.jetbrains (3.3.3)
  AntSupport (242.20224.159)
  idea.plugin.protoeditor (242.21829.3)
  com.jetbrains.space (242.21829.142)
  org.jetbrains.plugins.gitlab (242.21829.162)
  izhangzhihao.rainbow.brackets (2024.2.6-241)
  com.github.catppuccin.jetbrains_icons (1.8.0)
  com.jetbrains.packagesearch.intellij-plugin (242.0.12)
  org.intellij.scala (2024.2.603)
  zio.intellij.zio-intellij (2024.2.34.1)
Kotlin: 242.21829.142-IJ
myazinn commented 2 months ago

I'll try to fix it this week

myazinn commented 2 months ago

for some reason version bump of internal things didn't help (I was sure It would), and the exception is still there

java.lang.NoSuchMethodError: 'java.lang.String org.jetbrains.plugins.scala.codeInspection.collections.package$.invocationText(org.jetbrains.plugins.scala.lang.psi.api.expr.ScExpression, java.lang.String, scala.collection.immutable.Seq)'

(╯°□°)╯ So the fix will take a bit more time