izhangzhihao / intellij-rainbow-brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
GNU General Public License v3.0
4.46k stars 214 forks source link

[Auto Generated Report]java.lang.ClassCastException #415

Closed intellij-rainbow-brackets closed 4 years ago

intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @3108bc)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.b(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:126)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:105)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:98)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:216)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:218)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:207)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:34)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.RainbowVisitor.analyze(RainbowVisitor.java:50)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:434)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:427)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:625)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:570)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:402)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:400)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @573f2bb1)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider$MyVisitor.visitReferenceExpression(SwiftExpectedTypeProvider.java:856)
    at com.jetbrains.swift.psi.impl.SwiftReferenceExpressionGenImpl.accept(SwiftReferenceExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftReferenceExpressionGenImpl.accept(SwiftReferenceExpressionGenImpl.java:25)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider.getExpectedTypes(SwiftExpectedTypeProvider.java:72)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider.getExpectedTypes(SwiftExpectedTypeProvider.java:50)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReferenceBase$1.getExpectedTypes(SwiftCallableReferenceBase.java:53)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:230)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:227)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @573f2bb1)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitComplexOperatorExpression(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:10)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitNamedElement(SwiftVisitor.java:994)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgument(SwiftVisitor.java:40)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgumentList(SwiftVisitor.java:970)
    at com.jetbrains.swift.psi.SwiftVisitor.visitParenthesizedArgumentList(SwiftVisitor.java:676)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitStatement(SwiftVisitor.java:810)
    at com.jetbrains.swift.psi.SwiftVisitor.visitExpression(SwiftVisitor.java:392)
    at com.jetbrains.swift.psi.SwiftVisitor.visitCallExpression(SwiftVisitor.java:156)
    at com.jetbrains.swift.psi.impl.SwiftCallExpressionGenImpl.accept(SwiftCallExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftCallExpressionGenImpl.accept(SwiftCallExpressionGenImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitNamedElement(SwiftVisitor.java:994)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgument(SwiftVisitor.java:40)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgumentList(SwiftVisitor.java:970)
    at com.jetbrains.swift.psi.SwiftVisitor.visitParenthesizedArgumentList(SwiftVisitor.java:676)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitStatement(SwiftVisitor.java:810)
    at com.jetbrains.swift.psi.SwiftVisitor.visitExpression(SwiftVisitor.java:392)
    at com.jetbrains.swift.psi.SwiftVisitor.visitCallExpression(SwiftVisitor.java:156)
    at com.jetbrains.swift.psi.impl.SwiftCallExpressionGenImpl.accept(SwiftCallExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftCallExpressionGenImpl.accept(SwiftCallExpressionGenImpl.java:25)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitLeaf(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:16)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionLeaf.accept(SwiftLogicalExpressionLeaf.kt:32)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitBinaryExpression(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:32)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalBinaryExpression.accept(SwiftLogicalBinaryExpression.kt:82)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitComplexOperatorExpression(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:11)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitNamedElement(SwiftVisitor.java:994)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgument(SwiftVisitor.java:40)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgumentList(SwiftVisitor.java:970)
    at com.jetbrains.swift.psi.SwiftVisitor.visitParenthesizedArgumentList(SwiftVisitor.java:676)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:24)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.getDependencies(SwiftReferenceImpl.java:189)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.a(KeyManager.java:46)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.collectDependencies(KeyManager.java:38)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:143)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:93)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @3c0f93f1)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.c(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:126)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:105)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:98)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:216)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:218)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:207)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.c(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.h(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:434)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:427)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:625)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:570)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:402)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:400)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.flushAndCheckEarlyExit(SwiftReferenceResolveSession.kt:221)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.a(SwiftReferenceImpl.java:168)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.a(SwiftReferenceImpl.java:142)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:98)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.e(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.RainbowVisitor.analyze(RainbowVisitor.java:50)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.c(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @5442a311)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitComplexOperatorExpression(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:10)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitNamedElement(SwiftVisitor.java:994)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgument(SwiftVisitor.java:40)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgumentList(SwiftVisitor.java:970)
    at com.jetbrains.swift.psi.SwiftVisitor.visitParenthesizedArgumentList(SwiftVisitor.java:676)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:24)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.getDependencies(SwiftReferenceImpl.java:189)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.a(KeyManager.java:46)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.collectDependencies(KeyManager.java:38)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:143)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:93)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.c(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:128)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:127)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:107)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:100)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:210)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:212)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:201)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.c(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.k(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.b(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitComplexOperatorExpression(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:10)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitNamedElement(SwiftVisitor.java:994)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgument(SwiftVisitor.java:40)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgumentList(SwiftVisitor.java:970)
    at com.jetbrains.swift.psi.SwiftVisitor.visitParenthesizedArgumentList(SwiftVisitor.java:676)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:24)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.getDependencies(SwiftReferenceImpl.java:189)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.a(KeyManager.java:46)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.collectDependencies(KeyManager.java:38)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:143)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:93)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.a(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.b(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:146)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:145)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:118)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.a(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.b(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:146)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:145)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:118)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.a(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @573f2bb1)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.c(SwiftLogicalExpressionBuilder.kt:106)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:51)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.getType(SwiftComplexOperatorExpressionImpl.kt:19)
    at com.jetbrains.swift.psi.impl.expression.closure.SwiftClosureExpressionImpl.inferReturnTypeFromReturnStatements(SwiftClosureExpressionImpl.java:317)
    at com.jetbrains.swift.psi.impl.expression.closure.SwiftClosureSignatureEquation.a(SwiftClosureSignatureEquation.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.LazyTypeEquation.applySubstitutor(LazyTypeEquation.kt:19)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.c(ResolveSession.kt:52)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.resolve(ResolveSession.kt:17)
    at com.jetbrains.swift.codeinsight.resolve.recursive.GenericResolverImpl.resolveEquations(GenericResolverImpl.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:44)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveGenericInference(RecursiveResolveContext.java:39)
    at com.jetbrains.swift.psi.impl.expression.closure.SwiftClosureSignatureEquation.applySubstitutor(SwiftClosureSignatureEquation.java:102)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.c(ResolveSession.kt:52)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.resolve(ResolveSession.kt:17)
    at com.jetbrains.swift.codeinsight.resolve.recursive.GenericResolverImpl.resolveEquations(GenericResolverImpl.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:44)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveGenericInference(RecursiveResolveContext.java:39)
    at com.jetbrains.swift.psi.impl.expression.closure.SwiftClosureExpressionImpl.inferType(SwiftClosureExpressionImpl.java:101)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:127)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.getType(SwiftSymbolsManagerImpl.java:127)
    at com.jetbrains.swift.psi.impl.expression.SwiftExpressionImpl.getType(SwiftExpressionImpl.java:27)
    at com.jetbrains.swift.symbols.impl.SwiftArgumentSymbol.getSwiftType(SwiftArgumentSymbol.java:60)
    at com.jetbrains.swift.psi.impl.types.DelegatingTupleItem.getSwiftType(DelegatingTupleItem.java:34)
    at com.jetbrains.swift.psi.impl.types.sequence.SwiftFunctionCallMapper.checkTypes(SwiftFunctionCallMapper.kt:252)
    at com.jetbrains.swift.psi.impl.types.sequence.SwiftFunctionCallMapper.checkTypes$default(SwiftFunctionCallMapper.kt:251)
    at com.jetbrains.swift.psi.impl.types.sequence.SwiftFunctionCallMapper.a(SwiftFunctionCallMapper.kt:248)
    at com.jetbrains.swift.psi.impl.types.sequence.SwiftFunctionCallMapper.d(SwiftFunctionCallMapper.kt:225)
    at com.jetbrains.swift.psi.impl.types.sequence.SwiftFunctionCallMapper.b(SwiftFunctionCallMapper.kt:64)
    at com.jetbrains.swift.psi.impl.types.sequence.SwiftFunctionCallMapper.map(SwiftFunctionCallMapper.kt:36)
    at com.jetbrains.swift.psi.impl.types.SwiftFunctionDomainTypeImpl.mapTupleArguments(SwiftFunctionDomainTypeImpl.java:111)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ConcreteTypeEquation.a(ConcreteTypeEquation.kt:71)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ConcreteTypeEquation.resolve(ConcreteTypeEquation.kt:55)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.c(ResolveSession.kt:54)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.resolve(ResolveSession.kt:17)
    at com.jetbrains.swift.codeinsight.resolve.recursive.GenericResolverImpl.resolveEquations(GenericResolverImpl.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:44)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveGenericInference(RecursiveResolveContext.java:39)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:318)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.doRecursiveInference(SwiftRecursiveResolverProcessor.java:308)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:117)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:212)
    at com.jetbrains.swift.codeinsight.resolve.SwiftResolveUtil.doMultiResolve(SwiftResolveUtil.java:739)
    at com.jetbrains.swift.psi.impl.expression.SwiftReferenceExpressionBase.doMultiResolve(SwiftReferenceExpressionBase.java:310)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallExpressionReference.multiResolve(SwiftCallExpressionReference.java:46)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.resolveToSymbol(SwiftReferenceElementBase.java:99)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.resolveToSymbol(SwiftReferenceElementBase.java:27)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:37)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:146)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:145)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:118)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.a(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.RainbowVisitor.analyze(RainbowVisitor.java:50)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @31610302)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.b(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:146)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:145)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:118)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:89)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.a(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @2038ae61)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.b(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.getType(SwiftComplexOperatorExpressionImpl.kt:19)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider$MyVisitor.a(SwiftExpectedTypeProvider.java:1181)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider$MyVisitor.visitCaseItem(SwiftExpectedTypeProvider.java:529)
    at com.jetbrains.swift.psi.impl.SwiftCaseItemGenImpl.accept(SwiftCaseItemGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftCaseItemGenImpl.accept(SwiftCaseItemGenImpl.java:24)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider.getExpectedTypes(SwiftExpectedTypeProvider.java:72)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider.getExpectedTypes(SwiftExpectedTypeProvider.java:50)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExpectedTypeProvider.a(SwiftExpectedTypeProvider.java:152)
    at com.jetbrains.swift.codeinsight.resolve.recursive.LazyTypeEquation.applySubstitutor(LazyTypeEquation.kt:19)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.c(ResolveSession.kt:52)
    at com.jetbrains.swift.codeinsight.resolve.recursive.ResolveSession.resolve(ResolveSession.kt:17)
    at com.jetbrains.swift.codeinsight.resolve.recursive.GenericResolverImpl.resolveEquations(GenericResolverImpl.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:44)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveGenericInference(RecursiveResolveContext.java:39)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.a(SwiftImplicitlyQualifiedReference.java:97)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.a(SwiftImplicitlyQualifiedReference.java:78)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.multiResolve(SwiftImplicitlyQualifiedReference.java:57)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.b(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.a(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @20322d26)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftRecursiveLogicalExpressionAndPsiVisitor.visitComplexOperatorExpression(SwiftRecursiveLogicalExpressionAndPsiVisitor.kt:10)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:21)
    at com.jetbrains.swift.psi.impl.SwiftComplexOperatorExpressionGenImpl.accept(SwiftComplexOperatorExpressionGenImpl.java:25)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitNamedElement(SwiftVisitor.java:994)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgument(SwiftVisitor.java:40)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftArgumentGenImpl.accept(SwiftArgumentGenImpl.java:24)
    at com.intellij.psi.impl.PsiElementBase.acceptChildren(PsiElementBase.java:69)
    at com.jetbrains.swift.psi.SwiftRecursiveVisitor.visitElement(SwiftRecursiveVisitor.java:10)
    at com.jetbrains.swift.codeinsight.resolve.SwiftDependencyCollectingVisitor.visitElement(SwiftDependencyCollectingVisitor.kt:18)
    at com.jetbrains.swift.psi.SwiftVisitor.visitPsiElement(SwiftVisitor.java:1038)
    at com.jetbrains.swift.psi.SwiftVisitor.visitArgumentList(SwiftVisitor.java:970)
    at com.jetbrains.swift.psi.SwiftVisitor.visitParenthesizedArgumentList(SwiftVisitor.java:676)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:20)
    at com.jetbrains.swift.psi.impl.SwiftParenthesizedArgumentListGenImpl.accept(SwiftParenthesizedArgumentListGenImpl.java:24)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.getDependencies(SwiftReferenceImpl.java:189)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.a(KeyManager.java:46)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.collectDependencies(KeyManager.java:38)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:143)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:93)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:212)
    at com.jetbrains.swift.codeinsight.resolve.SwiftResolveUtil.doMultiResolve(SwiftResolveUtil.java:739)
    at com.jetbrains.swift.psi.impl.expression.SwiftReferenceExpressionBase.doMultiResolve(SwiftReferenceExpressionBase.java:310)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallExpressionReference.multiResolve(SwiftCallExpressionReference.java:46)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.resolveToSymbol(SwiftReferenceElementBase.java:99)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.resolveToSymbol(SwiftReferenceElementBase.java:27)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:37)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:146)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:145)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:118)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.a(SwiftReferenceResolveSession.kt:229)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.collectResults(SwiftReferenceResolveSession.kt:210)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceResolveSession.flushAndCheckEarlyExit(SwiftReferenceResolveSession.kt:221)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.a(SwiftReferenceImpl.java:168)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.a(SwiftReferenceImpl.java:142)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReferenceImpl.multiResolve(SwiftReferenceImpl.java:98)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.g(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.l(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 4 years ago
java.lang.ClassCastException: class com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl cannot be cast to class com.jetbrains.swift.psi.SwiftTypeElement (com.jetbrains.swift.psi.impl.SwiftEmptyExpressionGenImpl and com.jetbrains.swift.psi.SwiftTypeElement are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7ac7a4e4)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.a(SwiftLogicalExpressionBuilder.kt:95)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionBuilder.build(SwiftLogicalExpressionBuilder.kt:50)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.a(SwiftLogicalExpressionCache.kt:35)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionCache.get(SwiftLogicalExpressionCache.kt:32)
    at com.jetbrains.swift.psi.impl.expression.SwiftComplexOperatorExpressionImpl.resolveLogicalExpression(SwiftComplexOperatorExpressionImpl.kt:15)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.a(SwiftMutatingUtils.kt:84)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingUtils.isMutated(SwiftMutatingUtils.kt:38)
    at com.jetbrains.swift.codeinsight.resolve.SwiftMutatingContextImpl.isMutated(SwiftMutatingContext.kt:28)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:146)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor$inferMutabilityFromContext$inferredResult$1.tryComputing(SwiftCallableResolverProcessor.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.recursive.StackCacheManager.runOnNewStackFrame(StackCacheManager.java:50)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.tryRecursiveInference(RecursiveResolveContext.java:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.b(SwiftCallableResolverProcessor.kt:145)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.inferMutabilityAndCheck(SwiftCallableResolverProcessor.kt:125)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCallableResolverProcessor.doRecursiveInference(SwiftCallableResolverProcessor.kt:118)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:192)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.a(SwiftRecursiveResolverProcessor.java:194)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftRecursiveResolverProcessor.collectResults(SwiftRecursiveResolverProcessor.java:183)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftCachingResolverProcessor.getResults(SwiftCachingResolverProcessor.java:36)
    at com.jetbrains.swift.psi.impl.expression.SwiftSubscriptReference.multiResolve(SwiftSubscriptReference.java:116)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.a(SwiftSymbolsManagerImpl.java:151)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.b(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.c(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.a(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:144)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:70)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:54)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:126)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:106)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.j(SwiftColorAnnotator.kt:150)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.b(SwiftColorAnnotator.kt:111)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:90)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:47)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:442)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:435)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:434)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:410)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:408)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.github.izhangzhihao.rainbow.brackets.settings.RainbowSettings cannot be cast to class com.github.izhangzhihao.rainbow.brackets.settings.RainbowSettings (com.github.izhangzhihao.rainbow.brackets.settings.RainbowSettings is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @64de8ad1; com.github.izhangzhihao.rainbow.brackets.settings.RainbowSettings is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @2e9fb378)
    at com.github.izhangzhihao.rainbow.brackets.settings.RainbowSettings$Companion.getInstance(RainbowSettings.kt:56)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.suitableForFile(RainbowHighlightVisitor.kt:25)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.filterVisitors(GeneralHighlightingPass.java:128)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.getHighlightVisitors(GeneralHighlightingPass.java:145)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:165)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:80)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:54)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:399)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:392)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:391)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:367)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:365)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:181)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.source.PsiJavaFileImpl cannot be cast to class com.intellij.lang.properties.psi.PropertiesFile (com.intellij.psi.impl.source.PsiJavaFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4a313585; com.intellij.lang.properties.psi.PropertiesFile is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @11fabe50)
    at com.intellij.lang.properties.psi.impl.PropertyImpl.getPropertiesFile(PropertyImpl.java:382)
    at com.intellij.lang.properties.references.PropertyReferenceBase.lambda$multiResolve$0(PropertyReferenceBase.java:145)
    at com.intellij.util.containers.ContainerUtil.med3(ContainerUtil.java:2313)
    at com.intellij.util.containers.ContainerUtil.quickSort(ContainerUtil.java:2265)
    at com.intellij.util.containers.ContainerUtil.quickSort(ContainerUtil.java:2243)
    at com.intellij.lang.properties.references.PropertyReferenceBase.multiResolve(PropertyReferenceBase.java:144)
    at com.intellij.lang.properties.references.PropertyReferenceBase.resolve(PropertyReferenceBase.java:47)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:901)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:185)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @39290f4c; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @1e683a3e)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByClass(CacheableCommonSpringModel.java:64)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByClass(CacheableCommonSpringModel.java:47)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByClass$0(AbstractProcessableModel.java:26)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByClass(AbstractProcessableModel.java:26)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBeans(SpringModelSearchers.java:47)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getCachedPackages$1(SpringJpaPersistencePackageProvider.java:67)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getCachedPackages(SpringJpaPersistencePackageProvider.java:56)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getPersistencePackages$0(SpringJpaPersistencePackageProvider.java:49)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getPersistencePackages(SpringJpaPersistencePackageProvider.java:49)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getExtensionPersistenceUnits$2(JpaFacetImpl.java:194)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1599)
    at com.intellij.jpa.facet.JpaFacetImpl.getExtensionPersistenceUnits(JpaFacetImpl.java:194)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getPersistenceUnits$1(JpaFacetImpl.java:164)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.jpa.facet.JpaFacetImpl.getPersistenceUnits(JpaFacetImpl.java:158)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$getFacetMergedInfo$3(PersistenceRoleHolderImpl.java:139)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getFacetMergedInfo(PersistenceRoleHolderImpl.java:132)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$static$0(PersistenceRoleHolderImpl.java:38)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processPersistenceFacets(PersistenceRoleHolderImpl.java:75)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processModuleRoles(PersistenceRoleHolderImpl.java:60)
    at com.intellij.persistence.util.PersistenceCommonUtil.calculatePersistenceRoles(PersistenceCommonUtil.java:350)
    at com.intellij.persistence.util.PersistenceCommonUtil.lambda$getPersistenceRoles$6(PersistenceCommonUtil.java:336)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.persistence.util.PersistenceCommonUtil.getPersistenceRoles(PersistenceCommonUtil.java:335)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor.createAttributeMetaSet(JpaJamContributor.java:149)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.lambda$accepts$0(JpaJamContributor.java:120)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.accepts(JpaJamContributor.java:123)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.accepts(JpaJamContributor.java:110)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:62)
    at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:26)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:133)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:103)
    at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:88)
    at com.intellij.jam.JamService.getMetas(JamService.java:112)
    at com.intellij.jam.JamSemContributor.lambda$registerSemProviders$2(JamSemContributor.java:53)
    at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:27)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:133)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:103)
    at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:88)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:37)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:12)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:35)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:27)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:275)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.execution.ui.FragmentedSettings$Option cannot be cast to class com.intellij.openapi.components.BaseState (com.intellij.execution.ui.FragmentedSettings$Option and com.intellij.openapi.components.BaseState are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @3fffff43)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2$1.invoke(OptionClassJsonSchemaGenerator.kt:43)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2$1.invoke(OptionClassJsonSchemaGenerator.kt:16)
    at org.jetbrains.io.JsonObjectBuilder.map(JsonBuilder.kt:66)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2.invoke(OptionClassJsonSchemaGenerator.kt:42)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2.invoke(OptionClassJsonSchemaGenerator.kt:16)
    at org.jetbrains.io.JsonObjectBuilder.map(JsonBuilder.kt:66)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator.describe(OptionClassJsonSchemaGenerator.kt:40)
    at com.intellij.configurationScript.schemaGenerators.RunConfigurationJsonSchemaGenerator.generateDefinitions(RunConfigurationJsonSchemaGenerator.kt:97)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactoryKt.doGenerateConfigurationSchema(IntellijConfigurationJsonSchemaProviderFactory.kt:122)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactoryKt.generateConfigurationSchema(IntellijConfigurationJsonSchemaProviderFactory.kt:86)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactoryKt.access$generateConfigurationSchema(IntellijConfigurationJsonSchemaProviderFactory.kt:1)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory$schemeContent$2.invoke(IntellijConfigurationJsonSchemaProviderFactory.kt:32)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory$schemeContent$2.invoke(IntellijConfigurationJsonSchemaProviderFactory.kt:30)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory.getSchemeContent(IntellijConfigurationJsonSchemaProviderFactory.kt)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory.access$getSchemeContent$p(IntellijConfigurationJsonSchemaProviderFactory.kt:30)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory$MyJsonSchemaFileProvider$schemeFile$1$1.getContent(IntellijConfigurationJsonSchemaProviderFactory.kt:54)
    at com.intellij.psi.AbstractFileViewProvider$VirtualFileContent.getText(AbstractFileViewProvider.java:465)
    at com.intellij.psi.AbstractFileViewProvider.getContents(AbstractFileViewProvider.java:160)
    at com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:211)
    at com.intellij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:114)
    at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:733)
    at com.intellij.psi.impl.source.PsiFileImpl.getNode(PsiFileImpl.java:937)
    at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:744)
    at com.intellij.psi.util.PsiTreeUtil.getChildOfType(PsiTreeUtil.java:340)
    at com.intellij.json.psi.impl.JsonFileImpl.getTopLevelValue(JsonFileImpl.java:30)
    at com.jetbrains.jsonSchema.impl.JsonOriginalPsiWalker.getRoots(JsonOriginalPsiWalker.java:253)
    at com.jetbrains.jsonSchema.impl.JsonSchemaReader.lambda$read$0(JsonSchemaReader.java:101)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:156)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:148)
    at com.jetbrains.jsonSchema.impl.JsonSchemaReader.read(JsonSchemaReader.java:101)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.computeSchemaObject(JsonCachedValues.java:44)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.lambda$getOrCompute$5(JsonCachedValues.java:214)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.getOrCompute(JsonCachedValues.java:214)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.computeForFile(JsonCachedValues.java:100)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.getSchemaObject(JsonCachedValues.java:39)
    at com.jetbrains.jsonSchema.impl.JsonSchemaServiceImpl.getSchemaObject(JsonSchemaServiceImpl.java:319)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.lambda$computeSchemaForFile$6(JsonCachedValues.java:225)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.computeSchemaForFile(JsonCachedValues.java:222)
    at com.jetbrains.jsonSchema.impl.JsonSchemaServiceImpl.getSchemaObject(JsonSchemaServiceImpl.java:326)
    at com.jetbrains.jsonSchema.impl.JsonSchemaBasedLanguageInjector.getLanguageToInject(JsonSchemaBasedLanguageInjector.java:32)
    at org.jetbrains.yaml.schema.YamlJsonSchemaLanguageInjector.getLanguagesToInject(YamlJsonSchemaLanguageInjector.java:22)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:418)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtilBase.probeElementsUp(InjectedLanguageUtilBase.java:207)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtilBase.enumerate(InjectedLanguageUtilBase.java:137)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.enumerateEx(InjectedLanguageManagerImpl.java:318)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor.doGetReferencesByElement(InjectedReferencesContributor.java:101)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor.lambda$getInjectionInfo$0(InjectedReferencesContributor.java:62)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor.getInjectionInfo(InjectedReferencesContributor.java:60)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor$1.getReferencesByElement(InjectedReferencesContributor.java:54)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:31)
    at org.jetbrains.yaml.psi.impl.YAMLScalarImpl.getReferences(YAMLScalarImpl.java:73)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:275)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.execution.ui.FragmentedSettings$Option cannot be cast to class com.intellij.openapi.components.BaseState (com.intellij.execution.ui.FragmentedSettings$Option and com.intellij.openapi.components.BaseState are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @7946e1f4)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2$1.invoke(OptionClassJsonSchemaGenerator.kt:43)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2$1.invoke(OptionClassJsonSchemaGenerator.kt:16)
    at org.jetbrains.io.JsonObjectBuilder.map(JsonBuilder.kt:66)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2.invoke(OptionClassJsonSchemaGenerator.kt:42)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator$describe$2.invoke(OptionClassJsonSchemaGenerator.kt:16)
    at org.jetbrains.io.JsonObjectBuilder.map(JsonBuilder.kt:66)
    at com.intellij.configurationScript.schemaGenerators.OptionClassJsonSchemaGenerator.describe(OptionClassJsonSchemaGenerator.kt:40)
    at com.intellij.configurationScript.schemaGenerators.RunConfigurationJsonSchemaGenerator.generateDefinitions(RunConfigurationJsonSchemaGenerator.kt:97)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactoryKt.doGenerateConfigurationSchema(IntellijConfigurationJsonSchemaProviderFactory.kt:122)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactoryKt.generateConfigurationSchema(IntellijConfigurationJsonSchemaProviderFactory.kt:86)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactoryKt.access$generateConfigurationSchema(IntellijConfigurationJsonSchemaProviderFactory.kt:1)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory$schemeContent$2.invoke(IntellijConfigurationJsonSchemaProviderFactory.kt:32)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory$schemeContent$2.invoke(IntellijConfigurationJsonSchemaProviderFactory.kt:30)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory.getSchemeContent(IntellijConfigurationJsonSchemaProviderFactory.kt)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory.access$getSchemeContent$p(IntellijConfigurationJsonSchemaProviderFactory.kt:30)
    at com.intellij.configurationScript.IntellijConfigurationJsonSchemaProviderFactory$MyJsonSchemaFileProvider$schemeFile$1$1.getContent(IntellijConfigurationJsonSchemaProviderFactory.kt:54)
    at com.intellij.psi.AbstractFileViewProvider$VirtualFileContent.getText(AbstractFileViewProvider.java:465)
    at com.intellij.psi.AbstractFileViewProvider.getContents(AbstractFileViewProvider.java:160)
    at com.intellij.psi.impl.source.PsiFileImpl.loadTreeElement(PsiFileImpl.java:211)
    at com.intellij.psi.impl.source.PsiFileImpl.getTreeElement(PsiFileImpl.java:114)
    at com.intellij.psi.impl.source.PsiFileImpl.calcTreeElement(PsiFileImpl.java:733)
    at com.intellij.psi.impl.source.PsiFileImpl.getNode(PsiFileImpl.java:937)
    at com.intellij.psi.impl.source.PsiFileImpl.getFirstChild(PsiFileImpl.java:744)
    at com.intellij.psi.util.PsiTreeUtil.getChildOfType(PsiTreeUtil.java:340)
    at com.intellij.json.psi.impl.JsonFileImpl.getTopLevelValue(JsonFileImpl.java:30)
    at com.jetbrains.jsonSchema.impl.JsonOriginalPsiWalker.getRoots(JsonOriginalPsiWalker.java:253)
    at com.jetbrains.jsonSchema.impl.JsonSchemaReader.lambda$read$0(JsonSchemaReader.java:101)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:156)
    at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:148)
    at com.jetbrains.jsonSchema.impl.JsonSchemaReader.read(JsonSchemaReader.java:101)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.computeSchemaObject(JsonCachedValues.java:44)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.lambda$getOrCompute$5(JsonCachedValues.java:214)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.getOrCompute(JsonCachedValues.java:214)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.computeForFile(JsonCachedValues.java:100)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.getSchemaObject(JsonCachedValues.java:39)
    at com.jetbrains.jsonSchema.impl.JsonSchemaServiceImpl.getSchemaObject(JsonSchemaServiceImpl.java:319)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.lambda$computeSchemaForFile$6(JsonCachedValues.java:225)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.jetbrains.jsonSchema.impl.JsonCachedValues.computeSchemaForFile(JsonCachedValues.java:222)
    at com.jetbrains.jsonSchema.impl.JsonSchemaServiceImpl.getSchemaObject(JsonSchemaServiceImpl.java:326)
    at com.jetbrains.jsonSchema.impl.JsonSchemaBasedLanguageInjector.getLanguageToInject(JsonSchemaBasedLanguageInjector.java:32)
    at org.jetbrains.yaml.schema.YamlJsonSchemaLanguageInjector.getLanguagesToInject(YamlJsonSchemaLanguageInjector.java:22)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:418)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtilBase.probeElementsUp(InjectedLanguageUtilBase.java:207)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtilBase.enumerate(InjectedLanguageUtilBase.java:137)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.enumerateEx(InjectedLanguageManagerImpl.java:318)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor.doGetReferencesByElement(InjectedReferencesContributor.java:101)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor.lambda$getInjectionInfo$0(InjectedReferencesContributor.java:62)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor.getInjectionInfo(InjectedReferencesContributor.java:60)
    at org.intellij.plugins.intelliLang.references.InjectedReferencesContributor$1.getReferencesByElement(InjectedReferencesContributor.java:54)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:31)
    at org.jetbrains.yaml.psi.impl.YAMLScalarImpl.getReferences(YAMLScalarImpl.java:73)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @686a4b04; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @6ea12c19)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.doProcessLocalBeans(CacheableCommonSpringModel.java:99)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansByNameCachingProcessor.doProcessBeans(CacheableCommonSpringModel.java:180)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansByNameCachingProcessor.doProcessBeans(CacheableCommonSpringModel.java:177)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansCachingProcessor.findPointers(CacheableCommonSpringModel.java:160)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$1.createValue(SpringCachingProcessor.java:47)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$1.createValue(SpringCachingProcessor.java:43)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$SpringSLRUCache.get(SpringCachingProcessor.java:108)
    at com.intellij.spring.contexts.model.SpringCachingProcessor.process(SpringCachingProcessor.java:74)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByName(CacheableCommonSpringModel.java:94)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:85)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByName$1(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:87)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:56)
    at com.intellij.spring.boot.mvc.config.DispatcherServletAutoConfigurationWebModelContributor.getFilesets(DispatcherServletAutoConfigurationWebModelContributor.java:42)
    at com.intellij.spring.boot.mvc.config.SpringBootAutoConfiguredModelContibutor.getFilesets(SpringBootAutoConfiguredModelContibutor.java:36)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getModelProviderSets(SpringFileSetServiceImpl.java:79)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getAllSets(SpringFileSetServiceImpl.java:61)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getModelsWithoutDependencies$3(SpringManagerImpl.java:114)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.spring.impl.SpringManagerImpl.getModelsWithoutDependencies(SpringManagerImpl.java:104)
    at com.intellij.spring.impl.SpringManagerImpl.computeAllModels(SpringManagerImpl.java:234)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getAllModels$0(SpringManagerImpl.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.impl.SpringManagerImpl.getAllModels(SpringManagerImpl.java:73)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getCombinedModel$4(SpringManagerImpl.java:146)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.impl.SpringManagerImpl.getCombinedModel(SpringManagerImpl.java:144)
    at com.intellij.spring.boot.mvc.providers.SpringBootApplicationPortProvider.getApplicationPort(SpringBootApplicationPortProvider.kt:20)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils$getAuthoritiesByModule$1.compute(SpringMvcUrlUtils.kt:27)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils.getAuthoritiesByModule(SpringMvcUrlUtils.kt:23)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getAuthorities(SpringMvcUrlPathSpecification.kt:81)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getUrlPathContext(SpringMvcUrlPathSpecification.kt:32)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:28)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:17)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.rootContext(UrlPathReferenceInjector.kt:128)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.forPsiElement(UrlPathReferenceInjector.kt:136)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter.createReferences(UrlPathReferenceJamConverter.kt:40)
    at com.intellij.jam.JamReferenceContributor.convertReferences(JamReferenceContributor.kt:93)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:48)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:12)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:35)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:27)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @42c73b06; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @97e1986)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.lambda$getAllRepositories$0(RepositoriesSearchUtil.java:33)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:32)
    at com.intellij.spring.data.commons.model.xml.impl.RepositoriesImpl.getScannedElements(RepositoriesImpl.java:36)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.doProcessLocalBeans(CacheableCommonSpringModel.java:99)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansByNameCachingProcessor.doProcessBeans(CacheableCommonSpringModel.java:180)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansByNameCachingProcessor.doProcessBeans(CacheableCommonSpringModel.java:177)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansCachingProcessor.findPointers(CacheableCommonSpringModel.java:160)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$1.createValue(SpringCachingProcessor.java:47)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$1.createValue(SpringCachingProcessor.java:43)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$SpringSLRUCache.get(SpringCachingProcessor.java:108)
    at com.intellij.spring.contexts.model.SpringCachingProcessor.process(SpringCachingProcessor.java:74)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByName(CacheableCommonSpringModel.java:94)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:85)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByName$1(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:56)
    at com.intellij.spring.model.utils.SpringBeanUtilsImpl.findBean(SpringBeanUtilsImpl.java:89)
    at com.intellij.spring.model.converters.SpringBeanResolveConverter.fromString(SpringBeanResolveConverter.java:71)
    at com.intellij.spring.model.converters.SpringBeanResolveConverter.fromString(SpringBeanResolveConverter.java:40)
    at com.intellij.util.xml.impl.GetInvocation.a(GetInvocation.java:99)
    at com.intellij.util.xml.impl.GetInvocation.a(GetInvocation.java:74)
    at com.intellij.util.xml.impl.GetInvocation.invoke(GetInvocation.java:62)
    at com.intellij.util.xml.impl.DomInvocationHandler.invoke(DomInvocationHandler.java:658)
    at com.intellij.util.xml.GenericAttributeValue$$EnhancerByJetBrainsMainCglib$$f4a47684.getValue(<generated>)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.getAllPlaceholderConfigurerProperties(PlaceholderPropertyReference.java:311)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.lambda$getPlaceholderConfigurerProperties$5(PlaceholderPropertyReference.java:295)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.getPlaceholderConfigurerProperties(PlaceholderPropertyReference.java:294)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.multiResolve(PlaceholderPropertyReference.java:133)
    at com.intellij.lang.properties.references.PropertyReferenceBase.resolve(PropertyReferenceBase.java:47)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:901)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:185)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:275)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class com.intellij.psi.impl.source.resolve.reference.ProviderBinding$ProviderInfo ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; com.intellij.psi.impl.source.resolve.reference.ProviderBinding$ProviderInfo is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @6293abcc)
    at com.intellij.psi.impl.source.resolve.reference.NamedObjectProviderBinding.addMatchingProviders(NamedObjectProviderBinding.java:92)
    at com.intellij.psi.impl.source.resolve.reference.SimpleProviderBinding.addAcceptableReferenceProviders(SimpleProviderBinding.java:27)
    at com.intellij.psi.impl.source.resolve.reference.PsiReferenceRegistrarImpl.getPairsByElement(PsiReferenceRegistrarImpl.java:158)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:126)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:40)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:117)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:75)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:73)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:154)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:136)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:32)
    at com.intellij.psi.impl.source.xml.XmlDoctypeImpl.getReferences(XmlDoctypeImpl.java:218)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:28)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:129)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:110)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:346)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:280)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:306)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:599)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:309)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(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:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:222)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:52)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:434)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:427)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:625)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:570)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:426)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:402)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:168)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:168)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:400)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:171)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @13b6efa1; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @6ea12c19)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByClass(CacheableCommonSpringModel.java:64)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByClass(CacheableCommonSpringModel.java:47)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByClass$0(AbstractProcessableModel.java:26)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByClass(AbstractProcessableModel.java:26)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBeans(SpringModelSearchers.java:47)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getCachedPackages$1(SpringJpaPersistencePackageProvider.java:67)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getCachedPackages(SpringJpaPersistencePackageProvider.java:56)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getPersistencePackages$0(SpringJpaPersistencePackageProvider.java:49)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getPersistencePackages(SpringJpaPersistencePackageProvider.java:49)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getExtensionPersistenceUnits$2(JpaFacetImpl.java:194)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1599)
    at com.intellij.jpa.facet.JpaFacetImpl.getExtensionPersistenceUnits(JpaFacetImpl.java:194)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getPersistenceUnits$1(JpaFacetImpl.java:164)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.jpa.facet.JpaFacetImpl.getPersistenceUnits(JpaFacetImpl.java:158)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$getFacetMergedInfo$3(PersistenceRoleHolderImpl.java:139)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getFacetMergedInfo(PersistenceRoleHolderImpl.java:132)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$static$0(PersistenceRoleHolderImpl.java:38)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processPersistenceFacets(PersistenceRoleHolderImpl.java:75)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processModuleRoles(PersistenceRoleHolderImpl.java:60)
    at com.intellij.persistence.util.PersistenceCommonUtil.calculatePersistenceRoles(PersistenceCommonUtil.java:350)
    at com.intellij.persistence.util.PersistenceCommonUtil.lambda$getPersistenceRoles$6(PersistenceCommonUtil.java:336)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.persistence.util.PersistenceCommonUtil.getPersistenceRoles(PersistenceCommonUtil.java:335)
    at com.intellij.persistence.util.PersistenceUtil.getDataSources(PersistenceUtil.java:61)
    at com.intellij.jpa.ORMReferencesUtil.lambda$static$0(ORMReferencesUtil.java:78)
    at com.intellij.jpa.ORMReferencesUtil$3.multiResolve(ORMReferencesUtil.java:660)
    at com.intellij.psi.PsiPolyVariantReferenceBase.resolve(PsiPolyVariantReferenceBase.java:47)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:901)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:185)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class org.jetbrains.plugins.groovy.lang.psi.stubs.GrFileStub cannot be cast to class com.intellij.psi.impl.java.stubs.PsiJavaFileStub (org.jetbrains.plugins.groovy.lang.psi.stubs.GrFileStub is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3e6646f4; com.intellij.psi.impl.java.stubs.PsiJavaFileStub is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @7c89b0b5)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.getPackageName(PsiJavaFileBaseImpl.java:87)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processCurrentPackage(PsiJavaFileBaseImpl.java:382)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processOnDemandPackages(PsiJavaFileBaseImpl.java:361)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:289)
    at org.jetbrains.plugins.groovy.lang.psi.util.PsiTreeUtilKt.treeWalkUp(psiTreeUtil.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processFileLevelDeclarations(GrCodeReferenceResolver.kt:210)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processUnqualified(GrCodeReferenceResolver.kt:187)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processClasses(GrCodeReferenceResolver.kt:178)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.resolveAsReference(GrCodeReferenceResolver.kt:118)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.access$resolveAsReference(GrCodeReferenceResolver.kt:1)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolver.resolve(GrCodeReferenceResolver.kt:44)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolver.resolve(GrCodeReferenceResolver.kt:38)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.psi.impl.types.GrCodeReferenceElementImpl.resolve(GrCodeReferenceElementImpl.java:230)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.advancedResolve(GroovyReference.java:29)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.resolve(GroovyReference.java:24)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.getQualifiedName(GrAnnotationImpl.java:81)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.getQualifiedName(GrAnnotationImpl.java:77)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.hasQualifiedName(GrAnnotationImpl.java:148)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.lambda$execute$5(AnnotatedMembersSearcher.java:100)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:885)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.execute(AnnotatedMembersSearcher.java:95)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.execute(AnnotatedMembersSearcher.java:32)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.InstanceofQuery.processResults(InstanceofQuery.java:22)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.lambda$allCollectorNames$1(GrAnnotationCollector.java:206)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.allCollectorNames(GrAnnotationCollector.java:202)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.mayHaveAnnotationCollector(GrAnnotationCollector.java:196)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.mayHaveAnnotationCollector(GrAnnotationCollector.java:187)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.getResolvedAnnotations(GrAnnotationCollector.java:35)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.lambda$getAnnotations$1(GrModifierListImpl.java:267)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.getAnnotations(GrModifierListImpl.java:266)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.findAnnotation(GrModifierListImpl.java:281)
    at org.jetbrains.plugins.groovy.lang.psi.impl.PsiImplUtil.getAnnotation(PsiImplUtil.java:518)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.AutoExternalizeContributor.hasGeneratedImplementations(AutoExternalizeContributor.java:53)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.AutoExternalizeContributor.applyTransformation(AutoExternalizeContributor.java:38)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt$transformDefinition$1.compute(TransformationUtil.kt:53)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt$transformDefinition$1.compute(TransformationUtil.kt)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt.transformDefinition(TransformationUtil.kt:49)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.lambda$getTransformationResult$10(GrTypeDefinitionMembersCache.java:114)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.getTransformationResult(GrTypeDefinitionMembersCache.java:113)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.getMethods(GrTypeDefinitionMembersCache.java:70)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionImpl.getMethods(GrTypeDefinitionImpl.java:268)
    at org.jetbrains.plugins.groovy.dgm.GdkMethodHolder.<init>(GdkMethodHolder.java:45)
    at org.jetbrains.plugins.groovy.dgm.GdkMethodHolder.lambda$getHolderForClass$2(GdkMethodHolder.java:104)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at org.jetbrains.plugins.groovy.dgm.GdkMethodHolder.getHolderForClass(GdkMethodHolder.java:103)
    at org.jetbrains.plugins.groovy.dgm.DGMMemberContributor.calcGdkMethods(DGMMemberContributor.java:71)
    at org.jetbrains.plugins.groovy.dgm.DGMMemberContributor.processDgmMethods(DGMMemberContributor.java:50)
    at org.jetbrains.plugins.groovy.lang.resolve.NonCodeMembersContributor.runContributors(NonCodeMembersContributor.java:178)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processNonCodeMembers(ResolveUtil.java:247)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processScopeNonCodeMembers(ResolveUtil.java:183)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.doProcessDeclarations(ResolveUtil.java:138)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.lambda$treeWalkUp$0(ResolveUtil.java:108)
    at com.intellij.psi.util.PsiTreeUtil.treeWalkUp(PsiTreeUtil.java:1203)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:106)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtilKt.treeWalkUp(ResolveUtil.kt:41)
    at org.jetbrains.plugins.groovy.lang.resolve.GrReferenceResolveRunner.resolveReferenceExpression(GrReferenceResolveRunner.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.references.GrExplicitMethodCallReference.doResolve(GrExplicitMethodCallReference.kt:36)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:21)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:19)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference.resolve(GroovyCachingReference.kt:16)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.resolve(GrReferenceExpressionImpl.java:567)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.advancedResolve(GroovyReference.java:29)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.resolve(GroovyReference.java:24)
    at org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.checkFinalFieldAccess(GroovyAnnotator.java:339)
    at org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.visitReferenceExpression(GroovyAnnotator.java:307)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.accept(GrReferenceExpressionImpl.java:85)
    at org.jetbrains.plugins.groovy.annotator.GrAnnotatorImpl.annotate(GrAnnotatorImpl.kt:29)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:211)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3ba6647a; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @5056dfcb)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByClass(CacheableCommonSpringModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByClass(CacheableCommonSpringModel.java:47)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByClass$0(AbstractProcessableModel.java:26)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByClass(AbstractProcessableModel.java:26)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBeans(SpringModelSearchers.java:47)
    at com.intellij.spring.persistence.integration.hibernate.SpringHibernateSessionFactoryProvider.lambda$getCachedValuePackages$0(SpringHibernateSessionFactoryProvider.java:68)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.persistence.integration.hibernate.SpringHibernateSessionFactoryProvider.getCachedValuePackages(SpringHibernateSessionFactoryProvider.java:58)
    at com.intellij.spring.persistence.integration.hibernate.SpringHibernateSessionFactoryProvider.getPersistencePackages(SpringHibernateSessionFactoryProvider.java:54)
    at com.intellij.hibernate.facet.HibernateFacet.lambda$getExtensionSessionFactories$1(HibernateFacet.java:102)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1599)
    at com.intellij.hibernate.facet.HibernateFacet.getExtensionSessionFactories(HibernateFacet.java:101)
    at com.intellij.hibernate.facet.HibernateFacet.getPersistenceUnitsInner(HibernateFacet.java:162)
    at com.intellij.hibernate.facet.HibernateFacet.lambda$new$0(HibernateFacet.java:96)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.hibernate.facet.HibernateFacet.getPersistenceUnits(HibernateFacet.java:147)
    at com.intellij.jpa.DefaultQlModel.processPersistenceMappings(DefaultQlModel.java:60)
    at com.intellij.jpa.AbstractQlModel.getEntitiesInner(AbstractQlModel.java:92)
    at com.intellij.jpa.AbstractQlModel.lambda$new$0(AbstractQlModel.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.jpa.AbstractQlModel.getEntities(AbstractQlModel.java:87)
    at com.intellij.jpa.ql.psi.impl.QlReferenceImpl.processUnqualifiedResolve(QlReferenceImpl.java:336)
    at com.intellij.jpa.ql.psi.impl.QlReferenceImpl.processResolveVariants(QlReferenceImpl.java:164)
    at com.intellij.jpa.ql.psi.impl.QlReferenceImpl.resolveInner(QlReferenceImpl.java:365)
    at com.intellij.jpa.ql.psi.impl.QlReferenceImpl.lambda$static$0(QlReferenceImpl.java:53)
    at com.intellij.psi.impl.source.resolve.ResolveCache$PolyVariantResolver.resolve(ResolveCache.java:64)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:199)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:164)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:157)
    at com.intellij.jpa.ql.psi.impl.QlReferenceImpl.multiResolve(QlReferenceImpl.java:481)
    at com.intellij.jpa.ql.psi.impl.QlReferenceImpl.resolve(QlReferenceImpl.java:487)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl$1.visitElement(HighlightVisitorImpl.java:79)
    at com.intellij.psi.impl.PsiElementBase.accept(PsiElementBase.java:273)
    at com.intellij.jpa.ql.psi.impl.QlExpressionImpl.accept(QlExpressionImpl.java:25)
    at com.intellij.jpa.ql.psi.impl.QlReferenceExpressionImpl.accept(QlReferenceExpressionImpl.java:27)
    at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:67)
    at com.intellij.psi.PsiWalkingState.visit(PsiWalkingState.java:24)
    at com.intellij.util.WalkingState.walkChildren(WalkingState.java:62)
    at com.intellij.util.WalkingState.elementStarted(WalkingState.java:49)
    at com.intellij.psi.PsiWalkingState.elementStarted(PsiWalkingState.java:76)
    at com.intellij.psi.PsiRecursiveElementWalkingVisitor.visitElement(PsiRecursiveElementWalkingVisitor.java:48)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl$1.visitElement(HighlightVisitorImpl.java:77)
    at com.intellij.psi.PsiElementVisitor.visitFile(PsiElementVisitor.java:35)
    at com.intellij.psi.PsiRecursiveElementWalkingVisitor.visitFile(PsiRecursiveElementWalkingVisitor.java:70)
    at com.intellij.extapi.psi.PsiFileBase.accept(PsiFileBase.java:60)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$registerReferencesFromInjectedFragments$0(HighlightVisitorImpl.java:191)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtilBase.probeElementsUp(InjectedLanguageUtilBase.java:221)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtilBase.enumerate(InjectedLanguageUtilBase.java:137)
    at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.enumerateEx(InjectedLanguageManagerImpl.java:318)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.registerReferencesFromInjectedFragments(HighlightVisitorImpl.java:191)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:896)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:185)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:275)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap')
    at com.intellij.execution.junit.codeInsight.references.BaseJunitAnnotationReference.resolve(BaseJunitAnnotationReference.java:82)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:912)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:189)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.jetbrains.swift.symbols.impl.variable.LazyVariableInitializerInfo cannot be cast to class com.jetbrains.swift.codeinsight.resolve.reference.SwiftTypeReference (com.jetbrains.swift.symbols.impl.variable.LazyVariableInitializerInfo and com.jetbrains.swift.codeinsight.resolve.reference.SwiftTypeReference are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @72f2023b)
    at com.jetbrains.swift.symbols.impl.SwiftInlineUtils.getInlinedSwiftType(SwiftInlineUtils.kt:63)
    at com.jetbrains.swift.symbols.impl.SwiftInlineUtils.getInlinedVariableTypeInfoDeclaredType(SwiftInlineUtils.kt:80)
    at com.jetbrains.swift.symbols.impl.variable.SwiftVariableSymbolImpl.getSwiftDeclaredType(SwiftVariableSymbolImpl.java:117)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper$substituteAssociatedTypesFromClassMembers$1$1.invoke(SwiftAssociatedTypeSubstitutionHelper.kt:180)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper$substituteAssociatedTypesFromClassMembers$1$1.invoke(SwiftAssociatedTypeSubstitutionHelper.kt:32)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftSymbolProcessor$2.processImpl(SwiftSymbolProcessor.java:76)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftAbstractSymbolProcessor.process(SwiftAbstractSymbolProcessor.java:89)
    at com.jetbrains.swift.symbols.impl.SwiftClassSymbolUtil$1.processImpl(SwiftClassSymbolUtil.java:37)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftAbstractSymbolProcessor.process(SwiftAbstractSymbolProcessor.java:89)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftSymbolProcessor.process(SwiftSymbolProcessor.java:26)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftSymbolProcessor.process(SwiftSymbolProcessor.java:22)
    at com.intellij.util.containers.MostlySingularMultiMap.processValue(MostlySingularMultiMap.java:89)
    at com.intellij.util.containers.MostlySingularMultiMap.processForKey(MostlySingularMultiMap.java:74)
    at com.jetbrains.cidr.lang.resolve.OCResolveUtil.processMap(OCResolveUtil.java:886)
    at com.jetbrains.swift.symbols.impl.SwiftClassSymbolUtil.processMembers(SwiftClassSymbolUtil.java:40)
    at com.jetbrains.swift.symbols.SwiftTypeSymbol.processRawMembers(SwiftTypeSymbol.kt:44)
    at com.jetbrains.swift.symbols.impl.SwiftTypeSymbolImpl.processMembers(SwiftTypeSymbolImpl.kt:25)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper$processMembers$1.process(SwiftAssociatedTypeSubstitutionHelper.kt:270)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper$processMembers$1.process(SwiftAssociatedTypeSubstitutionHelper.kt:32)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:828)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper.processMembers(SwiftAssociatedTypeSubstitutionHelper.kt:267)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper.access$processMembers(SwiftAssociatedTypeSubstitutionHelper.kt:32)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper$substituteAssociatedTypesFromClassMembers$1.invoke(SwiftAssociatedTypeSubstitutionHelper.kt:174)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper$substituteAssociatedTypesFromClassMembers$1.invoke(SwiftAssociatedTypeSubstitutionHelper.kt:32)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelperKt$sam$com_intellij_util_Processor$0.process(SwiftAssociatedTypeSubstitutionHelper.kt)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftSymbolProcessor$1.processImpl(SwiftSymbolProcessor.java:64)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftAbstractSymbolProcessor.process(SwiftAbstractSymbolProcessor.java:89)
    at com.jetbrains.swift.symbols.impl.SwiftClassSymbolUtil$1.processImpl(SwiftClassSymbolUtil.java:37)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftAbstractSymbolProcessor.process(SwiftAbstractSymbolProcessor.java:89)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftSymbolProcessor.process(SwiftSymbolProcessor.java:26)
    at com.jetbrains.swift.codeinsight.resolve.processor.SwiftSymbolProcessor.process(SwiftSymbolProcessor.java:22)
    at com.intellij.util.containers.MostlySingularMultiMap.processValue(MostlySingularMultiMap.java:89)
    at com.intellij.util.containers.MostlySingularMultiMap.processAllValues(MostlySingularMultiMap.java:95)
    at com.jetbrains.cidr.lang.resolve.OCResolveUtil.processMap(OCResolveUtil.java:889)
    at com.jetbrains.swift.symbols.impl.SwiftClassSymbolUtil.processMembers(SwiftClassSymbolUtil.java:40)
    at com.jetbrains.swift.symbols.SwiftTypeSymbol.processRawMembers(SwiftTypeSymbol.kt:44)
    at com.jetbrains.swift.symbols.impl.SwiftTypeSymbolImpl.processMembers(SwiftTypeSymbolImpl.kt:25)
    at com.jetbrains.swift.symbols.impl.typeDeclarations.SwiftProtocolSymbolImpl.processMembers(SwiftProtocolSymbolImpl.java:65)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper.processMembers(SwiftAssociatedTypeSubstitutionHelper.kt:276)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper.substituteAssociatedTypesFromClassMembers(SwiftAssociatedTypeSubstitutionHelper.kt:160)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftAssociatedTypeSubstitutionHelper.substitute(SwiftAssociatedTypeSubstitutionHelper.kt:68)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftSubstitutionCacheImpl.inferSubstitutor(SwiftSubstitutionCacheImpl.java:209)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftSubstitutionCacheImpl.getOrCache(SwiftSubstitutionCacheImpl.java:114)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftSubstitutionCacheImpl.get(SwiftSubstitutionCacheImpl.java:104)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftTypeReferenceImpl$1.getSubstitutor(SwiftTypeReferenceImpl.java:379)
    at com.jetbrains.swift.psi.impl.types.substitution.SwiftSubstitutionVisitor.visitClassType(SwiftSubstitutionVisitor.java:127)
    at com.jetbrains.swift.psi.impl.types.substitution.SwiftSubstitutionVisitor.visitClassType(SwiftSubstitutionVisitor.java:30)
    at com.jetbrains.swift.psi.types.SwiftTypeVisitor.visitReferenceClassType(SwiftTypeVisitor.java:28)
    at com.jetbrains.swift.psi.impl.types.substitution.SwiftSubstitutionVisitor.visitReferenceClassType(SwiftSubstitutionVisitor.java:68)
    at com.jetbrains.swift.psi.impl.types.substitution.SwiftSubstitutionVisitor.visitReferenceClassType(SwiftSubstitutionVisitor.java:30)
    at com.jetbrains.swift.psi.impl.types.SwiftAbstractReferenceClassTypeImpl.accept(SwiftAbstractReferenceClassTypeImpl.java:29)
    at com.jetbrains.swift.psi.impl.types.substitution.SwiftSubstitutorImpl.substitute(SwiftSubstitutorImpl.java:92)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processSuperType(SwiftSuperTypesWalk.kt:257)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.access$processSuperType(SwiftSuperTypesWalk.kt:29)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk$processSuperTypes$1.process(SwiftSuperTypesWalk.kt:238)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk$processSuperTypes$1.process(SwiftSuperTypesWalk.kt:29)
    at com.jetbrains.swift.psi.impl.types.SwiftTypeUtil.processClassTypes(SwiftTypeUtil.java:264)
    at com.jetbrains.swift.psi.impl.types.SwiftTypeUtil.lambda$processClassTypes$4(SwiftTypeUtil.java:268)
    at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
    at java.base/java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:1812)
    at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
    at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
    at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
    at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
    at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
    at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:533)
    at com.jetbrains.swift.psi.impl.types.SwiftTypeUtil.processClassTypes(SwiftTypeUtil.java:268)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processSuperTypes(SwiftSuperTypesWalk.kt:238)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processSuperTypes(SwiftSuperTypesWalk.kt:225)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processExtensionsAndSuperTypes$intellij_swift_language(SwiftSuperTypesWalk.kt:177)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processClassSymbol(SwiftSuperTypesWalk.kt:144)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk$processExtensions$extensionProcessor$1.process(SwiftSuperTypesWalk.kt:193)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk$processExtensions$extensionProcessor$1.process(SwiftSuperTypesWalk.kt:29)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:828)
    at com.jetbrains.swift.codeinsight.resolve.SwiftExtensionsImpl.processExtensions(SwiftExtensionsImpl.java:65)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processExtensions$intellij_swift_language(SwiftSuperTypesWalk.kt:195)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processExtensionsAndSuperTypes$intellij_swift_language(SwiftSuperTypesWalk.kt:174)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processClassSymbol(SwiftSuperTypesWalk.kt:144)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processExtensionBase(SwiftSuperTypesWalk.kt:216)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processExtensionsAndSuperTypes$intellij_swift_language(SwiftSuperTypesWalk.kt:175)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalk.processClassSymbol(SwiftSuperTypesWalk.kt:144)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSuperTypesWalker.walk(SwiftSuperTypesWalker.kt:169)
    at com.jetbrains.swift.codeinsight.resolve.SwiftResolveUtil.processClassSymbolMembers(SwiftResolveUtil.java:377)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.processClassMembers(SwiftImplicitlyQualifiedReference.java:176)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.processExpectedType(SwiftImplicitlyQualifiedReference.java:114)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.process(SwiftImplicitlyQualifiedReference.java:85)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftImplicitlyQualifiedReference.multiResolve(SwiftImplicitlyQualifiedReference.java:57)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.doResolve(SwiftSymbolsManagerImpl.java:149)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.lambda$multiResolve$6(SwiftSymbolsManagerImpl.java:143)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$computeResult$6(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.computeResult(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$cacheOrGet$3(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:143)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:73)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:63)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:119)
    at com.jetbrains.swift.psi.impl.expression.SwiftImplicitMemberExpressionImpl.inferType(SwiftImplicitMemberExpressionImpl.java:37)
    at com.jetbrains.swift.psi.impl.SwiftExpressionReferenceElementBase.lambda$getType$0(SwiftExpressionReferenceElementBase.java:40)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.lambda$getType$5(SwiftSymbolsManagerImpl.java:127)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$computeResult$6(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.computeResult(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$cacheOrGet$3(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.getType(SwiftSymbolsManagerImpl.java:127)
    at com.jetbrains.swift.psi.impl.SwiftExpressionReferenceElementBase.getType(SwiftExpressionReferenceElementBase.java:40)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpressionLeaf.inferType(SwiftLogicalExpressionLeaf.kt:26)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpression$type$1.fun(SwiftLogicalExpression.kt:49)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpression$type$1.fun(SwiftLogicalExpression.kt:21)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.lambda$getType$5(SwiftSymbolsManagerImpl.java:127)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$computeResult$6(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.computeResult(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$cacheOrGet$3(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.getType(SwiftSymbolsManagerImpl.java:127)
    at com.jetbrains.swift.codeinsight.resolve.logical.SwiftLogicalExpression.getType(SwiftLogicalExpression.kt:49)
    at com.jetbrains.swift.symbols.impl.SwiftArgumentSymbol.getSwiftType(SwiftArgumentSymbol.java:67)
    at com.jetbrains.swift.psi.impl.expression.SwiftOperatorFunctionReference.processArguments(SwiftOperatorFunctionReference.kt:86)
    at com.jetbrains.swift.psi.impl.expression.SwiftOperatorFunctionReference.multiResolve(SwiftOperatorFunctionReference.kt:61)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftCallableReference.multiResolve(SwiftCallableReference.java:31)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.doResolve(SwiftSymbolsManagerImpl.java:149)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.lambda$multiResolve$6(SwiftSymbolsManagerImpl.java:143)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$computeResult$6(RecursiveResolveContext.java:96)
    at com.jetbrains.swift.codeinsight.resolve.recursive.DependencyManager.run(DependencyManager.java:23)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.computeResult(RecursiveResolveContext.java:90)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.lambda$cacheOrGet$3(RecursiveResolveContext.java:61)
    at com.jetbrains.swift.codeinsight.resolve.recursive.KeyManager.doWithKey(KeyManager.java:24)
    at com.jetbrains.swift.codeinsight.resolve.recursive.RecursiveResolveContext.cacheOrGet(RecursiveResolveContext.java:60)
    at com.jetbrains.swift.codeinsight.resolve.SwiftSymbolsManagerImpl.multiResolve(SwiftSymbolsManagerImpl.java:143)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:73)
    at com.jetbrains.swift.codeinsight.resolve.reference.SwiftReference.multiResolve(SwiftReference.java:57)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.doMultiResolve(SwiftReferenceElementBase.java:119)
    at com.jetbrains.swift.psi.impl.SwiftReferenceElementBase.advancedResolve(SwiftReferenceElementBase.java:99)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.getReferenceInfo(SwiftColorAnnotator.kt:192)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.getHighlightData(SwiftColorAnnotator.kt:128)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator$Companion.access$getHighlightData(SwiftColorAnnotator.kt:108)
    at com.jetbrains.swift.codeinsight.highlighting.SwiftColorAnnotator.annotate(SwiftColorAnnotator.kt:57)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:274)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class org.jetbrains.plugins.groovy.lang.psi.stubs.GrFileStub cannot be cast to class com.intellij.psi.impl.java.stubs.PsiJavaFileStub (org.jetbrains.plugins.groovy.lang.psi.stubs.GrFileStub is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @5291a7f9; com.intellij.psi.impl.java.stubs.PsiJavaFileStub is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @136c80a7)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.getPackageName(PsiJavaFileBaseImpl.java:87)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processCurrentPackage(PsiJavaFileBaseImpl.java:382)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processOnDemandPackages(PsiJavaFileBaseImpl.java:361)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:289)
    at org.jetbrains.plugins.groovy.lang.psi.util.PsiTreeUtilKt.treeWalkUp(psiTreeUtil.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processFileLevelDeclarations(GrCodeReferenceResolver.kt:210)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processUnqualified(GrCodeReferenceResolver.kt:187)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processClasses(GrCodeReferenceResolver.kt:178)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.resolveAsReference(GrCodeReferenceResolver.kt:118)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.access$resolveAsReference(GrCodeReferenceResolver.kt:1)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolver.resolve(GrCodeReferenceResolver.kt:44)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolver.resolve(GrCodeReferenceResolver.kt:38)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.psi.impl.types.GrCodeReferenceElementImpl.resolve(GrCodeReferenceElementImpl.java:230)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.advancedResolve(GroovyReference.java:29)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.resolve(GroovyReference.java:24)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.getQualifiedName(GrAnnotationImpl.java:81)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.getQualifiedName(GrAnnotationImpl.java:77)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.hasQualifiedName(GrAnnotationImpl.java:148)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.lambda$execute$5(AnnotatedMembersSearcher.java:100)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:885)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.execute(AnnotatedMembersSearcher.java:95)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.execute(AnnotatedMembersSearcher.java:32)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.InstanceofQuery.processResults(InstanceofQuery.java:22)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.lambda$allCollectorNames$1(GrAnnotationCollector.java:206)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.allCollectorNames(GrAnnotationCollector.java:202)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.mayHaveAnnotationCollector(GrAnnotationCollector.java:196)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.mayHaveAnnotationCollector(GrAnnotationCollector.java:187)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.getResolvedAnnotations(GrAnnotationCollector.java:35)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.lambda$getAnnotations$1(GrModifierListImpl.java:267)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.getAnnotations(GrModifierListImpl.java:266)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.findAnnotation(GrModifierListImpl.java:281)
    at org.jetbrains.plugins.groovy.lang.psi.impl.PsiImplUtil.getAnnotation(PsiImplUtil.java:518)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.builder.strategy.DefaultBuilderStrategySupport$DefaultBuilderStrategyHandler.processMethod(DefaultBuilderStrategySupport.java:97)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.builder.strategy.DefaultBuilderStrategySupport$DefaultBuilderStrategyHandler.processMethods(DefaultBuilderStrategySupport.java:92)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.builder.strategy.DefaultBuilderStrategySupport$DefaultBuilderStrategyHandler.doProcess(DefaultBuilderStrategySupport.java:44)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.builder.strategy.DefaultBuilderStrategySupport.applyTransformation(DefaultBuilderStrategySupport.java:29)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt$transformDefinition$1.compute(TransformationUtil.kt:53)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt$transformDefinition$1.compute(TransformationUtil.kt)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt.transformDefinition(TransformationUtil.kt:49)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.lambda$getTransformationResult$10(GrTypeDefinitionMembersCache.java:114)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.getTransformationResult(GrTypeDefinitionMembersCache.java:113)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.getFields(GrTypeDefinitionMembersCache.java:80)
    at org.jetbrains.plugins.groovy.lang.psi.impl.synthetic.GroovyScriptClass.getFields(GroovyScriptClass.java:116)
    at org.jetbrains.plugins.groovy.lang.psi.impl.synthetic.GroovyScriptClass.getFields(GroovyScriptClass.java:34)
    at org.jetbrains.plugins.groovy.lang.resolve.CollectClassMembersUtil.getFields(CollectClassMembersUtil.java:152)
    at org.jetbrains.plugins.groovy.lang.resolve.CollectClassMembersUtil.processClass(CollectClassMembersUtil.java:113)
    at org.jetbrains.plugins.groovy.lang.resolve.CollectClassMembersUtil.lambda$buildCache$0(CollectClassMembersUtil.java:91)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at org.jetbrains.plugins.groovy.lang.resolve.CollectClassMembersUtil.buildCache(CollectClassMembersUtil.java:89)
    at org.jetbrains.plugins.groovy.lang.resolve.CollectClassMembersUtil.getCachedMembers(CollectClassMembersUtil.java:49)
    at org.jetbrains.plugins.groovy.lang.resolve.CollectClassMembersUtil.getAllMethods(CollectClassMembersUtil.java:39)
    at org.jetbrains.plugins.groovy.lang.psi.util.GrClassImplUtil.processDeclarations(GrClassImplUtil.java:255)
    at org.jetbrains.plugins.groovy.lang.psi.impl.synthetic.GroovyScriptClass.processDeclarations(GroovyScriptClass.java:174)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processClassDeclarations(ResolveUtil.java:972)
    at org.jetbrains.plugins.groovy.lang.psi.impl.GroovyFileImpl.processDeclarations(GroovyFileImpl.java:122)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.doProcessDeclarations(ResolveUtil.java:129)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.lambda$treeWalkUp$0(ResolveUtil.java:108)
    at com.intellij.psi.util.PsiTreeUtil.treeWalkUp(PsiTreeUtil.java:1203)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:106)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtilKt.treeWalkUp(ResolveUtil.kt:41)
    at org.jetbrains.plugins.groovy.lang.resolve.GrReferenceResolveRunner.resolveReferenceExpression(GrReferenceResolveRunner.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.references.GrExplicitMethodCallReference.doResolve(GrExplicitMethodCallReference.kt:36)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:21)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:19)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference.resolve(GroovyCachingReference.kt:16)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.multiResolve(GroovyReference.java:43)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrMethodCallImpl.multiResolve(GrMethodCallImpl.java:88)
    at org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrCall.resolveMethod(GrCall.java:41)
    at org.jetbrains.plugins.groovy.lang.psi.patterns.GroovyClosurePattern$inMethod$1.accepts(GroovyClosurePattern.kt:21)
    at org.jetbrains.plugins.groovy.lang.psi.patterns.GroovyClosurePattern$inMethod$1.accepts(GroovyClosurePattern.kt:16)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:62)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:51)
    at org.jetbrains.plugins.groovy.ext.logback.LogbackDelegatesToProvider.getDelegatesToInfo(LogbackDelegatesToProvider.kt:22)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt.doGetDelegatesToInfo(grDelegatesToUtil.kt:40)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt.access$doGetDelegatesToInfo(grDelegatesToUtil.kt:1)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt$getDelegatesToInfo$1.compute(grDelegatesToUtil.kt:35)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt.getDelegatesToInfo(grDelegatesToUtil.kt:34)
    at org.jetbrains.plugins.groovy.lang.psi.impl.FunctionalExpressionsKt.processDelegatesTo(functionalExpressions.kt:67)
    at org.jetbrains.plugins.groovy.lang.psi.impl.FunctionalExpressionsKt.processOwnerAndDelegate(functionalExpressions.kt:51)
    at org.jetbrains.plugins.groovy.lang.psi.impl.FunctionalExpressionsKt.processDeclarationsWithCallsite(functionalExpressions.kt:61)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.doProcessDeclarations(ResolveUtil.java:123)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.lambda$treeWalkUp$0(ResolveUtil.java:108)
    at com.intellij.psi.util.PsiTreeUtil.treeWalkUp(PsiTreeUtil.java:1203)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:106)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtilKt.treeWalkUp(ResolveUtil.kt:41)
    at org.jetbrains.plugins.groovy.lang.resolve.GrReferenceResolveRunner.resolveReferenceExpression(GrReferenceResolveRunner.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.references.GrExplicitMethodCallReference.doResolve(GrExplicitMethodCallReference.kt:36)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:21)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:19)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference.resolve(GroovyCachingReference.kt:16)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.multiResolve(GroovyReference.java:43)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrMethodCallImpl.multiResolve(GrMethodCallImpl.java:88)
    at org.jetbrains.plugins.groovy.lang.psi.api.statements.expressions.GrCall.resolveMethod(GrCall.java:41)
    at org.jetbrains.plugins.groovy.lang.psi.patterns.GroovyClosurePattern$inMethod$1.accepts(GroovyClosurePattern.kt:21)
    at org.jetbrains.plugins.groovy.lang.psi.patterns.GroovyClosurePattern$inMethod$1.accepts(GroovyClosurePattern.kt:16)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:62)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:51)
    at org.jetbrains.plugins.groovy.ext.logback.LogbackDelegatesToProvider.getDelegatesToInfo(LogbackDelegatesToProvider.kt:22)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt.doGetDelegatesToInfo(grDelegatesToUtil.kt:40)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt.access$doGetDelegatesToInfo(grDelegatesToUtil.kt:1)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt$getDelegatesToInfo$1.compute(grDelegatesToUtil.kt:35)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesToUtilKt.getDelegatesToInfo(grDelegatesToUtil.kt:34)
    at org.jetbrains.plugins.groovy.lang.psi.impl.FunctionalExpressionsKt.processDelegatesTo(functionalExpressions.kt:67)
    at org.jetbrains.plugins.groovy.lang.psi.impl.FunctionalExpressionsKt.processOwnerAndDelegate(functionalExpressions.kt:51)
    at org.jetbrains.plugins.groovy.lang.psi.impl.FunctionalExpressionsKt.processDeclarationsWithCallsite(functionalExpressions.kt:61)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.doProcessDeclarations(ResolveUtil.java:123)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.lambda$treeWalkUp$0(ResolveUtil.java:108)
    at com.intellij.psi.util.PsiTreeUtil.treeWalkUp(PsiTreeUtil.java:1203)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.treeWalkUp(ResolveUtil.java:106)
    at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtilKt.treeWalkUp(ResolveUtil.kt:41)
    at org.jetbrains.plugins.groovy.lang.resolve.GrReferenceResolveRunner.resolveReferenceExpression(GrReferenceResolveRunner.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.references.GrExplicitMethodCallReference.doResolve(GrExplicitMethodCallReference.kt:36)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:21)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference$DefaultResolver.resolve(GroovyCachingReference.kt:19)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.resolve.api.GroovyCachingReference.resolve(GroovyCachingReference.kt:16)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.resolve(GrReferenceExpressionImpl.java:567)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.advancedResolve(GroovyReference.java:29)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.resolve(GroovyReference.java:24)
    at org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.checkFinalFieldAccess(GroovyAnnotator.java:339)
    at org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.visitReferenceExpression(GroovyAnnotator.java:307)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.accept(GrReferenceExpressionImpl.java:85)
    at org.jetbrains.plugins.groovy.annotator.GrAnnotatorImpl.annotate(GrAnnotatorImpl.kt:29)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:211)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class [Ljava.lang.Object; cannot be cast to class com.intellij.psi.impl.source.resolve.reference.ProviderBinding$ProviderInfo ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; com.intellij.psi.impl.source.resolve.reference.ProviderBinding$ProviderInfo is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @754ba872)
    at com.intellij.psi.impl.source.resolve.reference.NamedObjectProviderBinding.addMatchingProviders(NamedObjectProviderBinding.java:95)
    at com.intellij.psi.impl.source.resolve.reference.SimpleProviderBinding.addAcceptableReferenceProviders(SimpleProviderBinding.java:27)
    at com.intellij.psi.impl.source.resolve.reference.PsiReferenceRegistrarImpl.getPairsByElement(PsiReferenceRegistrarImpl.java:181)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:40)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:112)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:76)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:32)
    at com.intellij.psi.impl.source.tree.PsiCommentImpl.getReferences(PsiCommentImpl.java:48)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:44)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:338)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:277)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:300)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:300)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:300)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:362)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:208)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:300)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:300)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:300)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:214)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:80)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:54)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:399)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1110)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:392)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:391)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:367)
    at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:170)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:182)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:365)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:181)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.source.PsiJavaFileImpl cannot be cast to class com.intellij.lang.javascript.psi.JSElement (com.intellij.psi.impl.source.PsiJavaFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @c30ad9; com.intellij.lang.javascript.psi.JSElement is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4e33eb9f)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.processDeclarationsInScopeStubBased(JSStubBasedPsiTreeUtil.java:197)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.processDeclarationsInScope(JSStubBasedPsiTreeUtil.java:163)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.resolveLocallyWithMergedResults(JSStubBasedPsiTreeUtil.java:145)
    at com.intellij.lang.javascript.psi.util.JSStubBasedPsiTreeUtil.resolveLocallyWithMergedResults(JSStubBasedPsiTreeUtil.java:135)
    at com.intellij.lang.javascript.psi.resolve.ES6QualifiedNameResolver.getTopLevelElementsWalkUp(ES6QualifiedNameResolver.java:74)
    at com.intellij.lang.javascript.psi.resolve.JSQualifiedNameResolver.getTopLevelElements(JSQualifiedNameResolver.java:120)
    at com.intellij.lang.javascript.psi.resolve.JSQualifiedNameResolver.getExpandedTopLevelElements(JSQualifiedNameResolver.java:131)
    at com.intellij.lang.javascript.psi.resolve.JSQualifiedNameResolver.resolveQualifiedName(JSQualifiedNameResolver.java:71)
    at com.intellij.lang.javascript.psi.resolve.JSImportHandler.resolveName(JSImportHandler.java:63)
    at com.intellij.lang.javascript.psi.types.JSTypeImpl.resolveTypeImpl(JSTypeImpl.java:149)
    at com.intellij.lang.javascript.psi.types.JSTypeImpl.lambda$new$2(JSTypeImpl.java:96)
    at com.intellij.lang.javascript.psi.types.JSTypeImpl.lambda$createResolvedTypeInfoCachedValue$4(JSTypeImpl.java:129)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.lang.javascript.psi.types.JSTypeImpl.resolveType(JSTypeImpl.java:136)
    at com.intellij.lang.javascript.psi.types.JSTypeImpl.getSimpleResolvedTypeText(JSTypeImpl.java:223)
    at com.intellij.lang.javascript.psi.types.JSTypeImpl.isEquivalentToWithSameClass(JSTypeImpl.java:379)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.isEquivalentTo(JSTypeBaseImpl.java:503)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.resolvedEquals(JSTypeBaseImpl.java:732)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl$JSResolvedTypeIdImpl.equals(JSTypeBaseImpl.java:806)
    at java.base/java.util.Objects.equals(Objects.java:77)
    at com.intellij.util.containers.CanonicalHashingStrategy.equals(HashingStrategy.java:36)
    at com.intellij.util.containers.ConcurrentWeakKeySoftValueHashMap$WeakKey.equals(ConcurrentWeakKeySoftValueHashMap.java:89)
    at com.intellij.util.containers.ConcurrentWeakKeySoftValueHashMap$HardKey.equals(ConcurrentWeakKeySoftValueHashMap.java:182)
    at java.base/java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:940)
    at com.intellij.util.containers.ConcurrentWeakKeySoftValueHashMap.get(ConcurrentWeakKeySoftValueHashMap.java:215)
    at com.intellij.lang.javascript.psi.types.JSResolvedTypeIdCache.getMapForTypeId(JSResolvedTypeIdCache.java:80)
    at com.intellij.lang.javascript.psi.types.JSResolvedTypeIdCache.getLocalCachedValue(JSResolvedTypeIdCache.java:50)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl$JSResolvedTypeIdImpl.getLocalCachedValue(JSTypeBaseImpl.java:797)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.substitute(JSTypeBaseImpl.java:601)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.substitute(JSTypeBaseImpl.java:590)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.getFunctionTypes(JSTypeBaseImpl.java:851)
    at com.intellij.lang.javascript.psi.JSTypeUtils.getFunctionType(JSTypeUtils.java:709)
    at com.intellij.lang.javascript.psi.JSTypeUtils.getReturnType(JSTypeUtils.java:886)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType$JSApplyCallTypeProcessor.applyToFunctionType(JSApplyCallType.java:251)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType$JSApplyCallTypeProcessor.applyToType(JSApplyCallType.java:247)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.lambda$process$3(JSTypeStructuralPartProcessor.java:45)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.transform(JSEvaluationResultElement.java:102)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.lambda$transform$0(JSEvaluationTaskList.java:36)
    at com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1983)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.transform(JSEvaluationTaskList.java:36)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet.lambda$transform$0(JSEvaluationTaskSet.java:48)
    at com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1983)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet.transform(JSEvaluationTaskSet.java:48)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.lambda$transform$0(JSEvaluationTaskList.java:36)
    at com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1983)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.transform(JSEvaluationTaskList.java:36)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.process(JSTypeStructuralPartProcessor.java:39)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType.evaluate(JSApplyCallType.java:130)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.lambda$process$0(JSTypeStructuralPartProcessor.java:37)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithGuard(JSTypeEvaluator.java:2372)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.process(JSTypeStructuralPartProcessor.java:37)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.lambda$process$2(JSTypeStructuralPartProcessor.java:49)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithGuard(JSTypeEvaluator.java:2372)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.lambda$process$3(JSTypeStructuralPartProcessor.java:49)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.transform(JSEvaluationResultElement.java:102)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.lambda$transform$0(JSEvaluationTaskList.java:36)
    at com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1983)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.transform(JSEvaluationTaskList.java:36)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.process(JSTypeStructuralPartProcessor.java:39)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.lambda$process$2(JSTypeStructuralPartProcessor.java:49)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithGuard(JSTypeEvaluator.java:2372)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.lambda$process$3(JSTypeStructuralPartProcessor.java:49)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.transform(JSEvaluationResultElement.java:102)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.lambda$transform$0(JSEvaluationTaskList.java:36)
    at com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1983)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskList.transform(JSEvaluationTaskList.java:36)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet.lambda$transform$0(JSEvaluationTaskSet.java:48)
    at com.intellij.util.containers.ContainerUtil.map(ContainerUtil.java:1983)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet.transform(JSEvaluationTaskSet.java:48)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartProcessor.process(JSTypeStructuralPartProcessor.java:39)
    at com.intellij.lang.javascript.psi.types.evaluable.JSQualifiedReferenceType.evaluate(JSQualifiedReferenceType.java:180)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateWithRecursionGuard$15(JSTypeEvaluator.java:2379)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithRecursionGuard(JSTypeEvaluator.java:2383)
    at com.intellij.lang.javascript.psi.types.evaluable.JSReferenceExpressionType$JSApplyResolveResultsType.evaluate(JSReferenceExpressionType.java:337)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateWithRecursionGuard$15(JSTypeEvaluator.java:2379)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithRecursionGuard(JSTypeEvaluator.java:2383)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.doAddType(JSCachingTypeProcessor.java:82)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.process(JSCachingTypeProcessor.java:46)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.applyWithContext(JSEvaluationResultElement.java:93)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet$1.get(JSEvaluationTaskSet.java:34)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet$1.get(JSEvaluationTaskSet.java:30)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:75)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet.applyWithContext(JSEvaluationTaskSet.java:30)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateWithRecursionGuard$15(JSTypeEvaluator.java:2379)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithRecursionGuard(JSTypeEvaluator.java:2383)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.doAddType(JSCachingTypeProcessor.java:82)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.process(JSCachingTypeProcessor.java:46)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.applyWithContext(JSEvaluationResultElement.java:93)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet$1.get(JSEvaluationTaskSet.java:34)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet$1.get(JSEvaluationTaskSet.java:30)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:75)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationTaskSet.applyWithContext(JSEvaluationTaskSet.java:30)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateWithRecursionGuard$15(JSTypeEvaluator.java:2379)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithRecursionGuard(JSTypeEvaluator.java:2383)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.doAddType(JSCachingTypeProcessor.java:82)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.process(JSCachingTypeProcessor.java:46)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.applyWithContext(JSEvaluationResultElement.java:93)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateWithRecursionGuard$15(JSTypeEvaluator.java:2379)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithRecursionGuard(JSTypeEvaluator.java:2383)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.doAddType(JSCachingTypeProcessor.java:82)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.process(JSCachingTypeProcessor.java:46)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.applyWithContext(JSEvaluationResultElement.java:93)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateWithRecursionGuard$15(JSTypeEvaluator.java:2379)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateWithRecursionGuard(JSTypeEvaluator.java:2383)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.doAddType(JSCachingTypeProcessor.java:82)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.doEvaluateExpressionOrElementTypeForCaching(JSTypeEvaluator.java:167)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$CacheProviderExpressionType.apply(JSTypeEvaluator.java:99)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$JSElementEvaluationResultCache.lambda$getElementType$2(JSTypeEvaluator.java:2505)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard$1.lambda$get$0(JSComplexityAwareRecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard$1.get(JSComplexityAwareRecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:75)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.getCachedValue(JSComplexityAwareRecursionGuard.java:40)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$JSElementEvaluationResultCache.getElementType(JSTypeEvaluator.java:2497)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.getElementType(JSTypeEvaluator.java:218)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.evaluateTypesFromCache(JSCachingTypeProcessor.java:63)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.lambda$evaluateTypes$0(JSCachingTypeProcessor.java:53)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.processWithEvaluationGuard(JSTypeEvaluator.java:2393)
    at com.intellij.lang.javascript.psi.resolve.JSCachingTypeProcessor.evaluateTypes(JSCachingTypeProcessor.java:51)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.evaluateTypes(JSCompleteTypeEvaluationProcessor.java:43)
    at com.intellij.lang.javascript.psi.resolve.JSCompleteTypeEvaluationProcessor.evaluateTypes(JSCompleteTypeEvaluationProcessor.java:34)
    at com.intellij.lang.javascript.psi.resolve.QualifiedItemProcessor.evaluateExpressionOrElementType(QualifiedItemProcessor.java:575)
    at com.intellij.lang.javascript.psi.resolve.JSReferenceExpressionResolver.resolve(JSReferenceExpressionResolver.java:113)
    at com.intellij.lang.javascript.psi.resolve.JSReferenceExpressionResolver.resolve(JSReferenceExpressionResolver.java:35)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$4.get(JSResolveUtil.java:2006)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$4.get(JSResolveUtil.java:2003)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:75)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.lambda$getCachedValue$0(JSComplexityAwareRecursionGuard.java:71)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$5.lambda$calculateWithCaching$0(JSResolveUtil.java:2019)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:199)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil$5.calculateWithCaching(JSResolveUtil.java:2017)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.getCachedValue(JSComplexityAwareRecursionGuard.java:74)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil.resolve(JSResolveUtil.java:2001)
    at com.intellij.lang.javascript.psi.impl.JSReferenceExpressionImpl.multiResolve(JSReferenceExpressionImpl.java:521)
    at com.intellij.lang.javascript.highlighting.JSSemanticHighlightingUtil.highlight(JSSemanticHighlightingUtil.java:197)
    at com.intellij.lang.javascript.validation.JSAnnotatingVisitor.visitJSReferenceExpression(JSAnnotatingVisitor.java:504)
    at com.intellij.lang.javascript.psi.impl.JSReferenceExpressionImpl.accept(JSReferenceExpressionImpl.java:509)
    at com.intellij.lang.javascript.validation.JSAnnotator.annotate(JSAnnotator.java:17)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:275)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:601)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3cd35fcf; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @5056dfcb)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByClass(CacheableCommonSpringModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByClass(CacheableCommonSpringModel.java:47)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByClass$0(AbstractProcessableModel.java:26)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByClass(AbstractProcessableModel.java:26)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBeans(SpringModelSearchers.java:47)
    at com.intellij.spring.persistence.integration.hibernate.SpringHibernateSessionFactoryProvider.lambda$getCachedValuePackages$0(SpringHibernateSessionFactoryProvider.java:68)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.persistence.integration.hibernate.SpringHibernateSessionFactoryProvider.getCachedValuePackages(SpringHibernateSessionFactoryProvider.java:58)
    at com.intellij.spring.persistence.integration.hibernate.SpringHibernateSessionFactoryProvider.getPersistencePackages(SpringHibernateSessionFactoryProvider.java:54)
    at com.intellij.hibernate.facet.HibernateFacet.lambda$getExtensionSessionFactories$1(HibernateFacet.java:102)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1599)
    at com.intellij.hibernate.facet.HibernateFacet.getExtensionSessionFactories(HibernateFacet.java:101)
    at com.intellij.hibernate.facet.HibernateFacet.getPersistenceUnitsInner(HibernateFacet.java:162)
    at com.intellij.hibernate.facet.HibernateFacet.getExplicitPersistenceUnits(HibernateFacet.java:153)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$getFacetXmlInfo$2(PersistenceRoleHolderImpl.java:115)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getFacetXmlInfo(PersistenceRoleHolderImpl.java:106)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$static$1(PersistenceRoleHolderImpl.java:39)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processPersistenceFacets(PersistenceRoleHolderImpl.java:75)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processRoles(PersistenceRoleHolderImpl.java:66)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processXmlRoles(PersistenceRoleHolderImpl.java:53)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$3.accepts(JpaJamContributor.java:212)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$3.accepts(JpaJamContributor.java:199)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:62)
    at com.intellij.patterns.StandardPatterns$3.accepts(StandardPatterns.java:105)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:57)
    at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:26)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:133)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:103)
    at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:88)
    at com.intellij.jam.JamService.getMetas(JamService.java:112)
    at com.intellij.jam.JamSemContributor.lambda$registerSemProviders$2(JamSemContributor.java:53)
    at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:27)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:133)
    at com.intellij.semantic.SemServiceImpl.createSemElements(SemServiceImpl.java:103)
    at com.intellij.semantic.SemServiceImpl.getSemElements(SemServiceImpl.java:88)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:37)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:12)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:35)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:27)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class org.jetbrains.plugins.groovy.lang.psi.stubs.GrFileStub cannot be cast to class com.intellij.psi.impl.java.stubs.PsiJavaFileStub (org.jetbrains.plugins.groovy.lang.psi.stubs.GrFileStub is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @2cf3247e; com.intellij.psi.impl.java.stubs.PsiJavaFileStub is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @71521cd9)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.getPackageName(PsiJavaFileBaseImpl.java:87)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processCurrentPackage(PsiJavaFileBaseImpl.java:382)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processOnDemandPackages(PsiJavaFileBaseImpl.java:361)
    at com.intellij.psi.impl.source.PsiJavaFileBaseImpl.processDeclarations(PsiJavaFileBaseImpl.java:289)
    at org.jetbrains.plugins.groovy.lang.psi.util.PsiTreeUtilKt.treeWalkUp(psiTreeUtil.kt:37)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processFileLevelDeclarations(GrCodeReferenceResolver.kt:210)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processUnqualified(GrCodeReferenceResolver.kt:187)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.processClasses(GrCodeReferenceResolver.kt:178)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.resolveAsReference(GrCodeReferenceResolver.kt:118)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolverKt.access$resolveAsReference(GrCodeReferenceResolver.kt:1)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolver.resolve(GrCodeReferenceResolver.kt:44)
    at org.jetbrains.plugins.groovy.lang.resolve.GrCodeReferenceResolver.resolve(GrCodeReferenceResolver.kt:38)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$1(ResolveCache.java:149)
    at com.intellij.openapi.util.Computable.get(Computable.java:17)
    at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$loggingResolver$3(ResolveCache.java:221)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:198)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:149)
    at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:250)
    at org.jetbrains.plugins.groovy.lang.psi.impl.TopInferenceContext.resolveWithCaching(TopInferenceContext.kt:30)
    at org.jetbrains.plugins.groovy.lang.psi.impl.InferenceContext.resolve(InferenceContext.java:48)
    at org.jetbrains.plugins.groovy.lang.psi.impl.types.GrCodeReferenceElementImpl.resolve(GrCodeReferenceElementImpl.java:230)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.advancedResolve(GroovyReference.java:29)
    at org.jetbrains.plugins.groovy.lang.psi.api.GroovyReference.resolve(GroovyReference.java:24)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.getQualifiedName(GrAnnotationImpl.java:81)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.getQualifiedName(GrAnnotationImpl.java:77)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.annotation.GrAnnotationImpl.hasQualifiedName(GrAnnotationImpl.java:148)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.lambda$execute$5(AnnotatedMembersSearcher.java:100)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:885)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.execute(AnnotatedMembersSearcher.java:95)
    at org.jetbrains.plugins.groovy.findUsages.AnnotatedMembersSearcher.execute(AnnotatedMembersSearcher.java:32)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.InstanceofQuery.processResults(InstanceofQuery.java:22)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.lambda$allCollectorNames$1(GrAnnotationCollector.java:206)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.allCollectorNames(GrAnnotationCollector.java:202)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.mayHaveAnnotationCollector(GrAnnotationCollector.java:196)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.mayHaveAnnotationCollector(GrAnnotationCollector.java:187)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrAnnotationCollector.getResolvedAnnotations(GrAnnotationCollector.java:35)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.lambda$getAnnotations$1(GrModifierListImpl.java:267)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.getAnnotations(GrModifierListImpl.java:266)
    at org.jetbrains.plugins.groovy.lang.psi.impl.auxiliary.modifiers.GrModifierListImpl.findAnnotation(GrModifierListImpl.java:281)
    at org.jetbrains.plugins.groovy.lang.psi.impl.PsiImplUtil.getAnnotation(PsiImplUtil.java:518)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.AutoExternalizeContributor.hasGeneratedImplementations(AutoExternalizeContributor.java:53)
    at org.jetbrains.plugins.groovy.lang.resolve.ast.AutoExternalizeContributor.applyTransformation(AutoExternalizeContributor.java:38)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt$transformDefinition$1.compute(TransformationUtil.kt:53)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt$transformDefinition$1.compute(TransformationUtil.kt)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at org.jetbrains.plugins.groovy.transformations.TransformationUtilKt.transformDefinition(TransformationUtil.kt:49)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.lambda$getTransformationResult$10(GrTypeDefinitionMembersCache.java:114)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.getTransformationResult(GrTypeDefinitionMembersCache.java:113)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.lambda$getExtendsListTypes$5(GrTypeDefinitionMembersCache.java:85)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionMembersCache.getExtendsListTypes(GrTypeDefinitionMembersCache.java:84)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionImpl.getExtendsListTypes(GrTypeDefinitionImpl.java:222)
    at org.jetbrains.plugins.groovy.lang.psi.api.statements.typedef.GrTypeDefinition.getExtendsListTypes(GrTypeDefinition.java:49)
    at com.intellij.psi.impl.ScopedClassHierarchy.getSuperTypes(ScopedClassHierarchy.java:75)
    at com.intellij.psi.impl.ScopedClassHierarchy.visitType(ScopedClassHierarchy.java:60)
    at com.intellij.psi.impl.ScopedClassHierarchy.getSuperClassSubstitutor(ScopedClassHierarchy.java:95)
    at com.intellij.psi.impl.JavaClassSupersImpl.getSuperSubstitutorWithCaching(JavaClassSupersImpl.java:96)
    at com.intellij.psi.impl.JavaClassSupersImpl.getSuperClassSubstitutor(JavaClassSupersImpl.java:56)
    at com.intellij.psi.impl.InheritanceImplUtil.isInheritor(InheritanceImplUtil.java:27)
    at org.jetbrains.plugins.groovy.lang.psi.impl.statements.typedef.GrTypeDefinitionImpl.isInheritor(GrTypeDefinitionImpl.java:422)
    at com.intellij.psi.util.InheritanceUtil.isInheritorOrSelf(InheritanceUtil.java:29)
    at com.intellij.psi.util.InheritanceUtil.isInheritor(InheritanceUtil.java:85)
    at com.intellij.psi.util.InheritanceUtil.isInheritor(InheritanceUtil.java:71)
    at com.intellij.psi.util.InheritanceUtil.isInheritor(InheritanceUtil.java:57)
    at org.jetbrains.plugins.gradle.service.resolve.dsl.GradleDslAnnotator.annotate(GradleDslAnnotator.java:52)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:211)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @9d7e46b; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @61dc03ce)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.doProcessLocalBeans(CacheableCommonSpringModel.java:99)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansByNameCachingProcessor.doProcessBeans(CacheableCommonSpringModel.java:180)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansByNameCachingProcessor.doProcessBeans(CacheableCommonSpringModel.java:177)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel$LocalBeansCachingProcessor.findPointers(CacheableCommonSpringModel.java:160)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$1.createValue(SpringCachingProcessor.java:47)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$1.createValue(SpringCachingProcessor.java:43)
    at com.intellij.spring.contexts.model.SpringCachingProcessor$SpringSLRUCache.get(SpringCachingProcessor.java:108)
    at com.intellij.spring.contexts.model.SpringCachingProcessor.process(SpringCachingProcessor.java:74)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByName(CacheableCommonSpringModel.java:94)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:85)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByName$1(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:87)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:56)
    at com.intellij.spring.boot.mvc.config.DispatcherServletAutoConfigurationWebModelContributor.getFilesets(DispatcherServletAutoConfigurationWebModelContributor.java:42)
    at com.intellij.spring.boot.mvc.config.SpringBootAutoConfiguredModelContibutor.getFilesets(SpringBootAutoConfiguredModelContibutor.java:36)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getModelProviderSets(SpringFileSetServiceImpl.java:79)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getAllSets(SpringFileSetServiceImpl.java:61)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getModelsWithoutDependencies$3(SpringManagerImpl.java:114)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.spring.impl.SpringManagerImpl.getModelsWithoutDependencies(SpringManagerImpl.java:104)
    at com.intellij.spring.impl.SpringManagerImpl.computeAllModels(SpringManagerImpl.java:234)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getAllModels$0(SpringManagerImpl.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.impl.SpringManagerImpl.getAllModels(SpringManagerImpl.java:73)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getCombinedModel$4(SpringManagerImpl.java:146)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.impl.SpringManagerImpl.getCombinedModel(SpringManagerImpl.java:144)
    at com.intellij.spring.boot.mvc.providers.SpringBootApplicationPortProvider.getApplicationPort(SpringBootApplicationPortProvider.kt:20)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils$getAuthoritiesByModule$1.compute(SpringMvcUrlUtils.kt:27)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils.getAuthoritiesByModule(SpringMvcUrlUtils.kt:23)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getAuthorities(SpringMvcUrlPathSpecification.kt:81)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getUrlPathContext(SpringMvcUrlPathSpecification.kt:32)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:28)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:17)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.rootContext(UrlPathReferenceInjector.kt:128)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.forPsiElement(UrlPathReferenceInjector.kt:136)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter.createReferences(UrlPathReferenceJamConverter.kt:40)
    at com.intellij.jam.JamReferenceContributor.convertReferences(JamReferenceContributor.kt:93)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:48)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:12)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:35)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:27)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.util.xml.stubs.AttributeStub cannot be cast to class com.intellij.util.xml.stubs.FileStub (com.intellij.util.xml.stubs.AttributeStub and com.intellij.util.xml.stubs.FileStub are in unnamed module of loader com.intellij.util.lang.UrlClassLoader @6ea12c19)
    at com.intellij.util.xml.impl.DomCreator.createFileElement(DomCreator.java:191)
    at com.intellij.util.xml.impl.DomManagerImpl.a(DomManagerImpl.java:307)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.util.xml.impl.DomManagerImpl.getFileElement(DomManagerImpl.java:306)
    at com.intellij.util.xml.impl.DomManagerImpl.getFileElement(DomManagerImpl.java:63)
    at com.intellij.util.xml.DomManager.getDomFileDescription(DomManager.java:174)
    at com.intellij.util.xml.impl.DomManagerImpl.getFileElement(DomManagerImpl.java:323)
    at com.intellij.util.xml.impl.DomManagerImpl.getFileElement(DomManagerImpl.java:63)
    at com.intellij.jam.model.util.JamCommonUtil.getRootElement(JamCommonUtil.java:131)
    at com.intellij.javaee.web.facet.WebFacetImpl.lambda$getWebApps$2(WebFacetImpl.java:251)
    at com.intellij.util.containers.ContainerUtil.mapNotNull(ContainerUtil.java:2066)
    at com.intellij.javaee.web.facet.WebFacetImpl.getWebApps(WebFacetImpl.java:251)
    at com.intellij.javaee.web.WebModelImpl.getApps(WebModelImpl.java:29)
    at com.intellij.javaee.web.WebModelBase.getMergedElements(WebModelBase.java:55)
    at com.intellij.javaee.web.WebModelBase.getServletMappings(WebModelBase.java:46)
    at com.intellij.j2ee.web.WebUtilImpl.resolveServletMappingInfo(WebUtilImpl.java:123)
    at com.intellij.javaee.web.ServletPathReferenceProvider.createReferences(ServletPathReferenceProvider.java:66)
    at com.intellij.openapi.paths.PathReferenceProviderBase.createReferences(PathReferenceProviderBase.java:45)
    at com.intellij.openapi.paths.PathReferenceManagerImpl.processProvider(PathReferenceManagerImpl.java:259)
    at com.intellij.openapi.paths.PathReferenceManagerImpl.createReferences(PathReferenceManagerImpl.java:101)
    at com.intellij.htmltools.xml.util.HtmlReferenceProvider.getReferencesByElement(HtmlReferenceProvider.java:257)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:204)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:167)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:146)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getReferences(XmlAttributeValueImpl.java:80)
    at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getReferences(XmlAttributeValueImpl.java:90)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:601)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago

It just occurs.


java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @1470fc7e)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.lambda$visitRecursionAwareRelatedModels$0(SpringModelVisitors.java:41)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRecursionAwareRelatedModels(SpringModelVisitors.java:41)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRecursionAwareRelatedModels(SpringModelVisitors.java:35)
    at com.intellij.spring.contexts.model.CombinedSpringModelImpl.getActiveProfiles(CombinedSpringModelImpl.java:51)
    at com.intellij.spring.boot.mvc.providers.SpringBootApplicationPortProvider.getApplicationPort(SpringBootApplicationPortProvider.kt:22)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils$getAuthoritiesByModule$1.compute(SpringMvcUrlUtils.kt:27)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils.getAuthoritiesByModule(SpringMvcUrlUtils.kt:23)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getAuthorities(SpringMvcUrlPathSpecification.kt:81)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getUrlPathContext(SpringMvcUrlPathSpecification.kt:32)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:28)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:17)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.rootContext(UrlPathReferenceInjector.kt:128)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.forPsiElement(UrlPathReferenceInjector.kt:136)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter.createReferences(UrlPathReferenceJamConverter.kt:40)
    at com.intellij.jam.JamReferenceContributor.convertReferences(JamReferenceContributor.kt:93)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:48)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:8)
    at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
    at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:34)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:26)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4def74d7)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:86)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:42)
    at com.intellij.spring.boot.mvc.config.DispatcherServletAutoConfigurationWebModelContributor.getFilesets(DispatcherServletAutoConfigurationWebModelContributor.java:42)
    at com.intellij.spring.boot.mvc.config.SpringBootAutoConfiguredModelContibutor.getFilesets(SpringBootAutoConfiguredModelContibutor.java:36)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getModelProviderSets(SpringFileSetServiceImpl.java:79)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getAllSets(SpringFileSetServiceImpl.java:61)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getModelsWithoutDependencies$3(SpringManagerImpl.java:114)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.impl.SpringManagerImpl.getModelsWithoutDependencies(SpringManagerImpl.java:104)
    at com.intellij.spring.impl.SpringManagerImpl.computeAllModels(SpringManagerImpl.java:234)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getAllModels$0(SpringManagerImpl.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getAllModels(SpringManagerImpl.java:73)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getCombinedModel$4(SpringManagerImpl.java:146)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getCombinedModel(SpringManagerImpl.java:144)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getModelInReadAction$3(SpringJpaPersistencePackageProvider.java:103)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:844)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getModelInReadAction(SpringJpaPersistencePackageProvider.java:103)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getCachedPackages$1(SpringJpaPersistencePackageProvider.java:56)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getCachedPackages(SpringJpaPersistencePackageProvider.java:52)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getPersistencePackages$0(SpringJpaPersistencePackageProvider.java:45)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getPersistencePackages(SpringJpaPersistencePackageProvider.java:45)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getExtensionPersistenceUnits$3(JpaFacetImpl.java:200)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1511)
    at com.intellij.jpa.facet.JpaFacetImpl.getExtensionPersistenceUnits(JpaFacetImpl.java:200)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getPersistenceUnits$2(JpaFacetImpl.java:167)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.jpa.facet.JpaFacetImpl.getPersistenceUnits(JpaFacetImpl.java:161)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$getFacetMergedInfo$3(PersistenceRoleHolderImpl.java:139)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getFacetMergedInfo(PersistenceRoleHolderImpl.java:132)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$static$0(PersistenceRoleHolderImpl.java:38)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processPersistenceFacets(PersistenceRoleHolderImpl.java:75)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processModuleRoles(PersistenceRoleHolderImpl.java:60)
    at com.intellij.persistence.util.PersistenceCommonUtil.calculatePersistenceRoles(PersistenceCommonUtil.java:349)
    at com.intellij.persistence.util.PersistenceCommonUtil.lambda$getPersistenceRoles$6(PersistenceCommonUtil.java:335)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.persistence.util.PersistenceCommonUtil.getPersistenceRoles(PersistenceCommonUtil.java:334)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor.createAttributeMetaSet(JpaJamContributor.java:149)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.lambda$accepts$0(JpaJamContributor.java:120)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.accepts(JpaJamContributor.java:123)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.accepts(JpaJamContributor.java:110)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:62)
    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.jam.JamService.getMetas(JamService.java:111)
    at com.intellij.jam.JamSemContributor.lambda$registerSemProviders$2(JamSemContributor.java:53)
    at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:27)
    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.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:37)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:8)
    at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
    at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:34)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:26)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:274)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4def74d7)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:86)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:42)
    at com.intellij.spring.boot.mvc.config.DispatcherServletAutoConfigurationWebModelContributor.getFilesets(DispatcherServletAutoConfigurationWebModelContributor.java:42)
    at com.intellij.spring.boot.mvc.config.SpringBootAutoConfiguredModelContibutor.getFilesets(SpringBootAutoConfiguredModelContibutor.java:36)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getModelProviderSets(SpringFileSetServiceImpl.java:79)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getAllSets(SpringFileSetServiceImpl.java:61)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getModelsWithoutDependencies$3(SpringManagerImpl.java:114)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.impl.SpringManagerImpl.getModelsWithoutDependencies(SpringManagerImpl.java:104)
    at com.intellij.spring.impl.SpringManagerImpl.computeAllModels(SpringManagerImpl.java:234)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getAllModels$0(SpringManagerImpl.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getAllModels(SpringManagerImpl.java:73)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getCombinedModel$4(SpringManagerImpl.java:146)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getCombinedModel(SpringManagerImpl.java:144)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getModelInReadAction$3(SpringJpaPersistencePackageProvider.java:103)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:844)
    at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getModelInReadAction(SpringJpaPersistencePackageProvider.java:103)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getCachedPackages$1(SpringJpaPersistencePackageProvider.java:56)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getCachedPackages(SpringJpaPersistencePackageProvider.java:52)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getPersistencePackages$0(SpringJpaPersistencePackageProvider.java:45)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getPersistencePackages(SpringJpaPersistencePackageProvider.java:45)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getExtensionPersistenceUnits$3(JpaFacetImpl.java:200)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1511)
    at com.intellij.jpa.facet.JpaFacetImpl.getExtensionPersistenceUnits(JpaFacetImpl.java:200)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getPersistenceUnits$2(JpaFacetImpl.java:167)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.jpa.facet.JpaFacetImpl.getPersistenceUnits(JpaFacetImpl.java:161)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$getFacetMergedInfo$3(PersistenceRoleHolderImpl.java:139)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getFacetMergedInfo(PersistenceRoleHolderImpl.java:132)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$static$0(PersistenceRoleHolderImpl.java:38)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processPersistenceFacets(PersistenceRoleHolderImpl.java:75)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processModuleRoles(PersistenceRoleHolderImpl.java:60)
    at com.intellij.persistence.util.PersistenceCommonUtil.calculatePersistenceRoles(PersistenceCommonUtil.java:349)
    at com.intellij.persistence.util.PersistenceCommonUtil.lambda$getPersistenceRoles$6(PersistenceCommonUtil.java:335)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.persistence.util.PersistenceCommonUtil.getPersistenceRoles(PersistenceCommonUtil.java:334)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor.createAttributeMetaSet(JpaJamContributor.java:149)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.lambda$accepts$0(JpaJamContributor.java:120)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.accepts(JpaJamContributor.java:123)
    at com.intellij.jpa.model.annotations.mapping.JpaJamContributor$2.accepts(JpaJamContributor.java:110)
    at com.intellij.patterns.ObjectPattern.accepts(ObjectPattern.java:62)
    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.jam.JamService.getMetas(JamService.java:111)
    at com.intellij.jam.JamSemContributor.lambda$registerSemProviders$2(JamSemContributor.java:53)
    at com.intellij.semantic.SemRegistrar.lambda$registerSemElementProvider$0(SemRegistrar.java:27)
    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.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:37)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:8)
    at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
    at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:34)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:26)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:274)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4def74d7)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:24)
    at com.intellij.spring.SpringModelVisitorUtils.getPlaceholderConfigurers(SpringModelVisitorUtils.java:109)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.lambda$getConfigurers$6(PlaceholderPropertyReference.java:382)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.getConfigurers(PlaceholderPropertyReference.java:381)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.getPlaceholders(PlaceholderPropertyReference.java:367)
    at com.intellij.spring.model.values.PlaceholderPropertyReference.multiResolve(PlaceholderPropertyReference.java:131)
    at com.intellij.lang.properties.references.PropertyReferenceBase.resolve(PropertyReferenceBase.java:47)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:912)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:189)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:274)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @4c14ff25)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:86)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:42)
    at com.intellij.spring.boot.mvc.config.DispatcherServletAutoConfigurationWebModelContributor.getFilesets(DispatcherServletAutoConfigurationWebModelContributor.java:42)
    at com.intellij.spring.boot.mvc.config.SpringBootAutoConfiguredModelContibutor.getFilesets(SpringBootAutoConfiguredModelContibutor.java:36)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getModelProviderSets(SpringFileSetServiceImpl.java:79)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getAllSets(SpringFileSetServiceImpl.java:61)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getModelsWithoutDependencies$3(SpringManagerImpl.java:114)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.impl.SpringManagerImpl.getModelsWithoutDependencies(SpringManagerImpl.java:104)
    at com.intellij.spring.impl.SpringManagerImpl.computeAllModels(SpringManagerImpl.java:234)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getAllModels$0(SpringManagerImpl.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getAllModels(SpringManagerImpl.java:73)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getCombinedModel$4(SpringManagerImpl.java:146)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getCombinedModel(SpringManagerImpl.java:144)
    at com.intellij.spring.boot.mvc.providers.SpringBootApplicationPortProvider.getApplicationPort(SpringBootApplicationPortProvider.kt:20)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils$getAuthoritiesByModule$1.compute(SpringMvcUrlUtils.kt:27)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils.getAuthoritiesByModule(SpringMvcUrlUtils.kt:23)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getAuthorities(SpringMvcUrlPathSpecification.kt:81)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getUrlPathContext(SpringMvcUrlPathSpecification.kt:32)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:28)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:17)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.rootContext(UrlPathReferenceInjector.kt:128)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.forPsiElement(UrlPathReferenceInjector.kt:136)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter.createReferences(UrlPathReferenceJamConverter.kt:40)
    at com.intellij.jam.JamReferenceContributor.convertReferences(JamReferenceContributor.kt:93)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:48)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:8)
    at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
    at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:34)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:26)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @7a8c2791)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByName(AbstractProcessableModel.java:34)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByName(CacheableCommonSpringModel.java:86)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBean(SpringModelSearchers.java:42)
    at com.intellij.spring.boot.mvc.config.DispatcherServletAutoConfigurationWebModelContributor.getFilesets(DispatcherServletAutoConfigurationWebModelContributor.java:42)
    at com.intellij.spring.boot.mvc.config.SpringBootAutoConfiguredModelContibutor.getFilesets(SpringBootAutoConfiguredModelContibutor.java:36)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getModelProviderSets(SpringFileSetServiceImpl.java:79)
    at com.intellij.spring.facet.SpringFileSetServiceImpl.getAllSets(SpringFileSetServiceImpl.java:61)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getModelsWithoutDependencies$3(SpringManagerImpl.java:114)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.impl.SpringManagerImpl.getModelsWithoutDependencies(SpringManagerImpl.java:104)
    at com.intellij.spring.impl.SpringManagerImpl.computeAllModels(SpringManagerImpl.java:234)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getAllModels$0(SpringManagerImpl.java:75)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getAllModels(SpringManagerImpl.java:73)
    at com.intellij.spring.impl.SpringManagerImpl.lambda$getCombinedModel$4(SpringManagerImpl.java:146)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.spring.impl.SpringManagerImpl.getCombinedModel(SpringManagerImpl.java:144)
    at com.intellij.spring.boot.mvc.providers.SpringBootApplicationPortProvider.getApplicationPort(SpringBootApplicationPortProvider.kt:20)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils$getAuthoritiesByModule$1.compute(SpringMvcUrlUtils.kt:27)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils.getAuthoritiesByModule(SpringMvcUrlUtils.kt:23)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getAuthorities(SpringMvcUrlPathSpecification.kt:81)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getUrlPathContext(SpringMvcUrlPathSpecification.kt:32)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:28)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:17)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.rootContext(UrlPathReferenceInjector.kt:128)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.forPsiElement(UrlPathReferenceInjector.kt:136)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter.createReferences(UrlPathReferenceJamConverter.kt:40)
    at com.intellij.jam.JamReferenceContributor.convertReferences(JamReferenceContributor.kt:93)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:48)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:8)
    at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
    at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:34)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:26)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.spring.boot.application.metadata.SpringBootApplicationMetaConfigKeyImpl cannot be cast to class com.intellij.quarkus.config.QsMetaConfigKey (com.intellij.spring.boot.application.metadata.SpringBootApplicationMetaConfigKeyImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @2a418fd0; com.intellij.quarkus.config.QsMetaConfigKey is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @594d64aa)
    at com.intellij.quarkus.config.properties.QsConfigKeyPathReferenceProvider.getReferencesByElement(QsConfigKeyPathReferenceProvider.kt:15)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:31)
    at com.intellij.lang.properties.psi.impl.PropertyKeyImpl.getReferences(PropertyKeyImpl.java:32)
    at com.intellij.microservices.config.MetaConfigKeyReference.getResolvedMetaConfigKey(MetaConfigKeyReference.java:113)
    at com.intellij.spring.boot.application.properties.SpringBootApplicationPropertiesAnnotator.annotateKey(SpringBootApplicationPropertiesAnnotator.java:63)
    at com.intellij.spring.boot.application.properties.SpringBootApplicationPropertiesAnnotator.annotate(SpringBootApplicationPropertiesAnnotator.java:53)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:268)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsFileImpl cannot be cast to class com.intellij.psi.impl.source.PsiFileImpl (com.intellij.psi.impl.compiled.ClsFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @1fe064a1; com.intellij.psi.impl.source.PsiFileImpl is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @3dd3bcd)
    at com.intellij.extapi.psi.StubBasedPsiElementBase.getNode(StubBasedPsiElementBase.java:120)
    at com.intellij.extapi.psi.ASTDelegatePsiElement.getText(ASTDelegatePsiElement.java:145)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.checkQualifiedReferenceToTarget(PsiBasedClassResolver.kt:225)
    at org.jetbrains.kotlin.idea.search.PsiBasedClassResolver.canBeTargetReference(PsiBasedClassResolver.kt:161)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isAmongEntries(IdeLightClassInheritanceHelper.kt:61)
    at org.jetbrains.kotlin.idea.caches.lightClasses.IdeLightClassInheritanceHelper.isInheritor(IdeLightClassInheritanceHelper.kt:49)
    at org.jetbrains.kotlin.idea.caches.lightClasses.KtFakeLightClass.isInheritor(KtFakeLightClass.kt:51)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:68)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2$$special$$inlined$forEach$lambda$1.invoke(KotlinDirectInheritorsSearcher.kt:33)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:171)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:76)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher$processQuery$2.invoke(KotlinDirectInheritorsSearcher.kt:33)
    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:871)
    at org.jetbrains.kotlin.idea.util.application.ApplicationUtilsKt.runReadAction(ApplicationUtils.kt:17)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:61)
    at org.jetbrains.kotlin.idea.search.ideaExtensions.KotlinDirectInheritorsSearcher.processQuery(KotlinDirectInheritorsSearcher.kt:33)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:69)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:74)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:175)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:103)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:116)
    at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:99)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:91)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoryInterfaceInheritors(RepositoriesSearchUtil.java:67)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getRepositoriesCustomBeans(RepositoriesSearchUtil.java:54)
    at com.intellij.spring.data.utils.model.RepositoriesSearchUtil.getAllRepositories(RepositoriesSearchUtil.java:46)
    at com.intellij.spring.data.rest.SpringDataComponentScanExtender.getComponents(SpringDataComponentScanExtender.java:21)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponentExtensions(SpringJamModelImpl.java:79)
    at com.intellij.spring.model.jam.SpringJamModelImpl.getStereotypeComponents(SpringJamModelImpl.java:63)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.lambda$getScannedComponents$2(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:141)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:108)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.calculateScannedBeans(SpringComponentScanModel.java:62)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.calculateLocalBeans(ComponentScanPackagesModel.java:53)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.lambda$getLocalBeans$1(SpringComponentScanModel.java:50)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.spring.contexts.model.SpringComponentScanModel.getLocalBeans(SpringComponentScanModel.java:57)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processLocalBeansByClass(CacheableCommonSpringModel.java:64)
    at com.intellij.spring.contexts.model.CacheableCommonSpringModel.processByClass(CacheableCommonSpringModel.java:47)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.lambda$processByClass$0(AbstractProcessableModel.java:26)
    at com.intellij.spring.contexts.model.visitors.CommonSpringModelVisitorContext.visit(CommonSpringModelVisitorContext.java:30)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:50)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelatedModels(SpringModelVisitors.java:30)
    at com.intellij.spring.contexts.model.AbstractProcessableModel.processByClass(AbstractProcessableModel.java:26)
    at com.intellij.spring.model.utils.SpringModelSearchers.findBeans(SpringModelSearchers.java:47)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getCachedPackages$1(SpringJpaPersistencePackageProvider.java:67)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getCachedPackages(SpringJpaPersistencePackageProvider.java:56)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.lambda$getPersistencePackages$0(SpringJpaPersistencePackageProvider.java:49)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.persistence.integration.jpa.SpringJpaPersistencePackageProvider.getPersistencePackages(SpringJpaPersistencePackageProvider.java:49)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getExtensionPersistenceUnits$2(JpaFacetImpl.java:194)
    at com.intellij.util.containers.ContainerUtil.concat(ContainerUtil.java:1599)
    at com.intellij.jpa.facet.JpaFacetImpl.getExtensionPersistenceUnits(JpaFacetImpl.java:194)
    at com.intellij.jpa.facet.JpaFacetImpl.lambda$getPersistenceUnits$1(JpaFacetImpl.java:164)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.jpa.facet.JpaFacetImpl.getPersistenceUnits(JpaFacetImpl.java:158)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$getFacetMergedInfo$3(PersistenceRoleHolderImpl.java:139)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:110)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.getFacetMergedInfo(PersistenceRoleHolderImpl.java:132)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.lambda$static$0(PersistenceRoleHolderImpl.java:38)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processPersistenceFacets(PersistenceRoleHolderImpl.java:75)
    at com.intellij.persistence.roles.PersistenceRoleHolderImpl.processModuleRoles(PersistenceRoleHolderImpl.java:60)
    at com.intellij.persistence.util.PersistenceCommonUtil.calculatePersistenceRoles(PersistenceCommonUtil.java:350)
    at com.intellij.persistence.util.PersistenceCommonUtil.lambda$getPersistenceRoles$6(PersistenceCommonUtil.java:336)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:153)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:235)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:42)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:236)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:78)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:150)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:120)
    at com.intellij.persistence.util.PersistenceCommonUtil.getPersistenceRoles(PersistenceCommonUtil.java:335)
    at com.intellij.persistence.util.PersistenceUtil.getDataSources(PersistenceUtil.java:61)
    at com.intellij.jpa.ORMReferencesUtil.lambda$static$0(ORMReferencesUtil.java:78)
    at com.intellij.jpa.ORMReferencesUtil$3.multiResolve(ORMReferencesUtil.java:660)
    at com.intellij.psi.PsiPolyVariantReferenceBase.resolve(PsiPolyVariantReferenceBase.java:47)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitLiteralExpression(HighlightVisitorImpl.java:901)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.accept(PsiLiteralExpressionImpl.java:172)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:185)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:336)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:269)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:295)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:68)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:210)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:370)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:209)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:298)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:266)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:212)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    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:172)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
intellij-rainbow-brackets commented 3 years ago
java.lang.ClassCastException: class com.intellij.psi.impl.compiled.ClsMethodImpl cannot be cast to class com.intellij.psi.PsiClass (com.intellij.psi.impl.compiled.ClsMethodImpl and com.intellij.psi.PsiClass are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @53358895)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$8(JavaDirectInheritorsSearcher.java:208)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:136)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.lambda$calculateDirectSubClasses$9(JavaDirectInheritorsSearcher.java:207)
    at com.intellij.util.containers.ContainerUtil.process(ContainerUtil.java:817)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.processConcurrentlyIfTooMany(JavaDirectInheritorsSearcher.java:176)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.calculateDirectSubClasses(JavaDirectInheritorsSearcher.java:204)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.getOrCalculateDirectSubClasses(JavaDirectInheritorsSearcher.java:160)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:58)
    at com.intellij.psi.impl.search.JavaDirectInheritorsSearcher.execute(JavaDirectInheritorsSearcher.java:35)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.access$000(AbstractQuery.java:14)
    at com.intellij.util.AbstractQuery$1.processResults(AbstractQuery.java:61)
    at com.intellij.util.AbstractQuery$1.forEach(AbstractQuery.java:66)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.lambda$getOrComputeSubClasses$7(JavaClassInheritorsSearcher.java:110)
    at com.intellij.psi.impl.search.LazyConcurrentCollection.processMoreSubclasses(LazyConcurrentCollection.java:161)
    at com.intellij.psi.impl.search.LazyConcurrentCollection$1.hasNext(LazyConcurrentCollection.java:89)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processInheritors(JavaClassInheritorsSearcher.java:83)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:47)
    at com.intellij.psi.impl.search.JavaClassInheritorsSearcher.processQuery(JavaClassInheritorsSearcher.java:30)
    at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
    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.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
    at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
    at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
    at com.intellij.util.AbstractQuery.findAll(AbstractQuery.java:28)
    at com.intellij.spring.model.jam.utils.filters.SpringContextIncludeAssignableFilter.addCustomComponents(SpringContextIncludeAssignableFilter.java:52)
    at com.intellij.spring.model.jam.utils.filters.IncludeAssignableFilter.includeStereotypes(IncludeAssignableFilter.java:27)
    at com.intellij.spring.model.jam.utils.SpringJamUtilsImpl.filterComponentScannedStereotypes(SpringJamUtilsImpl.java:211)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:157)
    at com.intellij.spring.contexts.model.ComponentScanPackagesModel.getScannedComponents(ComponentScanPackagesModel.java:122)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedBeans(SpringComponentScan.java:74)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.lambda$new$0(SpringComponentScan.java:52)
    at com.intellij.util.containers.ConcurrentFactoryMap$2.create(ConcurrentFactoryMap.java:174)
    at com.intellij.util.containers.ConcurrentFactoryMap.get(ConcurrentFactoryMap.java:40)
    at com.intellij.spring.model.jam.stereotype.SpringComponentScan.getScannedElements(SpringComponentScan.java:62)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.collectScanDependentLocalModels(LocalAnnotationModel.java:255)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.lambda$getDependentLocalModels$9(LocalAnnotationModel.java:201)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getDependentLocalModels(LocalAnnotationModel.java:195)
    at com.intellij.spring.contexts.model.AbstractSimpleLocalModel.getRelatedLocalModels(AbstractSimpleLocalModel.java:47)
    at com.intellij.spring.contexts.model.LocalAnnotationModel.getRelatedModels(LocalAnnotationModel.java:102)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:59)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRelated(SpringModelVisitors.java:51)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.lambda$visitRecursionAwareRelatedModels$0(SpringModelVisitors.java:41)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRecursionAwareRelatedModels(SpringModelVisitors.java:41)
    at com.intellij.spring.contexts.model.visitors.SpringModelVisitors.visitRecursionAwareRelatedModels(SpringModelVisitors.java:35)
    at com.intellij.spring.contexts.model.CombinedSpringModelImpl.getActiveProfiles(CombinedSpringModelImpl.java:51)
    at com.intellij.spring.boot.mvc.providers.SpringBootApplicationPortProvider.getApplicationPort(SpringBootApplicationPortProvider.kt:22)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils$getAuthoritiesByModule$1.compute(SpringMvcUrlUtils.kt:27)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:111)
    at com.intellij.spring.web.mvc.model.SpringMvcUrlUtils.getAuthoritiesByModule(SpringMvcUrlUtils.kt:23)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getAuthorities(SpringMvcUrlPathSpecification.kt:81)
    at com.intellij.spring.web.mvc.jam.SpringMvcUrlPathSpecification.getUrlPathContext(SpringMvcUrlPathSpecification.kt:32)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:28)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter$injector$2.invoke(UrlPathReferenceJamConverter.kt:17)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.rootContext(UrlPathReferenceInjector.kt:128)
    at com.intellij.microservices.url.references.UrlPathReferenceInjector$buildReferences$1.forPsiElement(UrlPathReferenceInjector.kt:136)
    at com.intellij.microservices.uast.url.UrlPathReferenceJamConverter.createReferences(UrlPathReferenceJamConverter.kt:40)
    at com.intellij.jam.JamReferenceContributor.convertReferences(JamReferenceContributor.kt:93)
    at com.intellij.jam.JamReferenceContributor.getReferences(JamReferenceContributor.kt:48)
    at com.intellij.jam.JamReferenceContributor.access$getReferences(JamReferenceContributor.kt:17)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:23)
    at com.intellij.jam.JamReferenceContributor$registerReferenceProviders$1.invoke(JamReferenceContributor.kt:17)
    at com.intellij.psi.UastReferenceRegistrar$uastReferenceProviderByUsage$1.getReferencesByElement(UastReferenceRegistrar.kt:103)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.UastReferenceProviderAdapter$getReferencesByElement$1.invoke(UastReferenceProviderAdapter.kt:8)
    at com.intellij.openapi.progress.impl.CancellationCheck.withCancellationCheck(CancellationCheck.kt:59)
    at com.intellij.openapi.progress.impl.CancellationCheck$Companion.runWithCancellationCheck(CancellationCheck.kt:105)
    at com.intellij.psi.UastReferenceProviderAdapter.getReferencesByElement(UastReferenceProviderAdapter.kt:13)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:201)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:164)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:39)
    at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesManager.java:158)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
    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:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    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:43)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:72)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:155)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:121)
    at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:38)
    at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:34)
    at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:26)
    at com.intellij.psi.PsiReferenceService.getContributedReferences(PsiReferenceService.java:34)
    at com.intellij.psi.impl.source.tree.java.PsiLiteralExpressionImpl.getReferences(PsiLiteralExpressionImpl.java:193)
    at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:45)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.runAnnotators(DefaultHighlightVisitor.java:136)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.visit(DefaultHighlightVisitor.java:116)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.runVisitors(GeneralHighlightingPass.java:335)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$collectHighlights$5(GeneralHighlightingPass.java:274)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:294)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.analyze(RainbowHighlightVisitor.kt:35)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.lambda$analyze$1(HighlightVisitorImpl.java:214)
    at com.intellij.codeInsight.daemon.impl.analysis.RefCountHolder.analyze(RefCountHolder.java:369)
    at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.analyze(HighlightVisitorImpl.java:213)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.lambda$analyzeByVisitors$6(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.DefaultHighlightVisitor.analyze(DefaultHighlightVisitor.java:96)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.analyzeByVisitors(GeneralHighlightingPass.java:297)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectHighlights(GeneralHighlightingPass.java:265)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:211)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:400)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1096)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:393)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
    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:167)
    at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:178)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:366)
    at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
    at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
    at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
    at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
    at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
    at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)