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

Recursive update Exception in vue typescript file when using external components #2383

Closed simonschaufi closed 3 years ago

simonschaufi commented 3 years ago

Please check

Your programming languages

Expected Behavior

I don't expect any exception

Current Behavior

I get an exception

Possible Solution

n/a

Code snippet for reproduce (for bugs)

<template>
  <div></div>
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import ClipboardCopyElement from '@github/clipboard-copy-element';

@Component({
  components: {
    'clipboard-copy': Vue.extend(ClipboardCopyElement)
  }
})
export default class ManageBooking extends Vue {
}
</script>

Your Environment

PhpStorm 2021.1.4
Build #PS-211.7628.25, built on June 30, 2021
Runtime version: 11.0.11+9-b1341.60 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.4.0-87-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2986M
Cores: 8
Registry: run.processes.with.pty=TRUE, ide.balloon.shadow.size=0
Non-Bundled Plugins: AceJump (3.8.3), CMD Support (1.0.5), Shifter (1.9.6), String Manipulation (8.20.203.000.1), com.alayouni.ansiHighlight (1.2.4), com.kite.intellij (1.9.4), com.mallowigi (36.0), com.ultrahob.zerolength.plugin (0.93), de.netnexus.camelcaseplugin (3.0.8), de.onigunn.intellij.xliff (0.2.0), me.laria.code.idea_caseconv (0.7.1), nl.jworks.intellij.bootstrap3 (4.1.1), com.rspn.git (1.8), com.urswolfer.intellij.plugin.gerrit (1.2.5-203), mobi.hsz.idea.gitignore (4.1.0), name.kropp.intellij.makefile (211.7628.1), com.intellij.plugins.html.instantEditing (211.6693.111), com.axeldev.php1Up (0.1.2), com.cedricziel.idea.typo3 (211.7.1), com.chrisrm.idea.MaterialThemeUI (6.3.3), de.espend.idea.laravel (0.15.4), com.kalessil.phpStorm.phpInspectionsEA (4.0.6.4), com.ptby.dynamicreturntypeplugin (2.0.12), de.espend.idea.php.annotation (8.0.0), de.espend.idea.php.phpunit (6.2), de.sgalinski.fluid.plugin.id (2.5.1), net.king2500.plugins.PhpAdvancedAutoComplete (1.1.0), vette.neos (1.9.0), fr.adrienbrault.idea.symfony2plugin (0.23.212), de.sgalinski.typoscript.enterprise.plugin.id (2.5.1), de.fgalinski.typo3.extension.manager.id (0.1.3), izhangzhihao.rainbow.brackets (6.21), ru.adelf.idea.dotenv (2021.2)
Current Desktop: ubuntu:GNOME

Stacktrace:

java.lang.IllegalStateException: Recursive update
    at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1760)
    at org.jetbrains.vuejs.model.source.EntityContainerInfoProvider$InitializedContainerInfoProvider$InitializedContainerInfo.get(EntityContainerInfoProvider.kt:65)
    at org.jetbrains.vuejs.model.source.VueDefaultContainerInfoProvider$VueSourceContainerInfo.getComponents(VueDefaultContainerInfoProvider.kt:38)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$Companion$COMPONENTS$1.get(VueSourceContainer.kt:51)
    at kotlin.jvm.internal.PropertyReference1.invoke(PropertyReference1.java:35)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$MemberAccessor$get$1.invoke(VueSourceContainer.kt:76)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$MemberAccessor$get$1.invoke(VueSourceContainer.kt:70)
    at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$MemberAccessor.get(VueSourceContainer.kt:165)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.get(VueSourceContainer.kt:44)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.getComponents(VueSourceContainer.kt:38)
    at org.jetbrains.vuejs.model.VueScopeElement$DefaultImpls.acceptEntities(VueScopeElement.kt:71)
    at org.jetbrains.vuejs.model.VueEntitiesContainer$DefaultImpls.acceptEntities(VueEntitiesContainer.kt)
    at org.jetbrains.vuejs.model.VueContainer$DefaultImpls.acceptEntities(VueContainer.kt)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.acceptEntities(VueSourceContainer.kt:13)
    at org.jetbrains.vuejs.model.VueScopeElement$DefaultImpls.acceptPropertiesAndMethods(VueScopeElement.kt:94)
    at org.jetbrains.vuejs.model.VueEntitiesContainer$DefaultImpls.acceptPropertiesAndMethods(VueEntitiesContainer.kt)
    at org.jetbrains.vuejs.model.VueContainer$DefaultImpls.acceptPropertiesAndMethods(VueContainer.kt)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.acceptPropertiesAndMethods(VueSourceContainer.kt:13)
    at org.jetbrains.vuejs.model.VueInstanceOwnerKt.contributeComponentProperties(VueInstanceOwner.kt:101)
    at org.jetbrains.vuejs.model.VueInstanceOwnerKt.buildInstanceType(VueInstanceOwner.kt:57)
    at org.jetbrains.vuejs.model.VueInstanceOwnerKt.access$buildInstanceType(VueInstanceOwner.kt:1)
    at org.jetbrains.vuejs.model.VueInstanceOwner$thisType$1.compute(VueInstanceOwner.kt:33)
    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 org.jetbrains.vuejs.model.VueInstanceOwner$DefaultImpls.getThisType(VueInstanceOwner.kt:32)
    at org.jetbrains.vuejs.model.VueEntitiesContainer$DefaultImpls.getThisType(VueEntitiesContainer.kt)
    at org.jetbrains.vuejs.model.VueContainer$DefaultImpls.getThisType(VueContainer.kt)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.getThisType(VueSourceContainer.kt:13)
    at org.jetbrains.vuejs.codeInsight.VueFrameworkInsideScriptSpecificHandler.getObjectLiteralTypeForComponent(VueFrameworkInsideScriptSpecificHandler.kt:52)
    at org.jetbrains.vuejs.codeInsight.VueFrameworkInsideScriptSpecificHandler.findExpectedType(VueFrameworkInsideScriptSpecificHandler.kt:44)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.lambda$findExpectedType$0(ExpectedTypeEvaluator.java:89)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
    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.FindOps$FindOp.evaluateSequential(FindOps.java:150)
    at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
    at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.findExpectedType(ExpectedTypeEvaluator.java:91)
    at com.intellij.lang.javascript.dialects.JSDialectSpecificHandlersFactory.findExpectedType(JSDialectSpecificHandlersFactory.java:74)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.findExpectedTypeWithNewEvaluator(ExpectedTypeEvaluator.java:74)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.visitJSProperty(ExpectedTypeEvaluator.java:529)
    at com.intellij.lang.javascript.psi.impl.JSPropertyImpl.accept(JSPropertyImpl.java:302)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.findExpectedType(ExpectedTypeEvaluator.java:97)
    at com.intellij.lang.javascript.dialects.JSDialectSpecificHandlersFactory.findExpectedType(JSDialectSpecificHandlersFactory.java:74)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.findExpectedTypeWithNewEvaluator(ExpectedTypeEvaluator.java:74)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.visitJSProperty(ExpectedTypeEvaluator.java:529)
    at com.intellij.lang.javascript.psi.impl.JSPropertyImpl.accept(JSPropertyImpl.java:302)
    at com.intellij.lang.javascript.psi.ExpectedTypeEvaluator.findExpectedType(ExpectedTypeEvaluator.java:97)
    at com.intellij.lang.javascript.dialects.JSDialectSpecificHandlersFactory.findExpectedType(JSDialectSpecificHandlersFactory.java:74)
    at com.intellij.lang.javascript.psi.resolve.JSGenericTypesEvaluatorBase.getTypeSubstitutorForReturnType(JSGenericTypesEvaluatorBase.java:284)
    at com.intellij.lang.javascript.psi.resolve.JSGenericTypesEvaluatorBase.doInferParameters(JSGenericTypesEvaluatorBase.java:250)
    at com.intellij.lang.javascript.psi.resolve.JSGenericTypesEvaluatorBase.inferGenericTypesForCall(JSGenericTypesEvaluatorBase.java:222)
    at com.intellij.lang.typescript.resolve.TypeScriptGenericTypesEvaluator.getInferredCallLikeTypeSubstitutor(TypeScriptGenericTypesEvaluator.java:598)
    at com.intellij.lang.typescript.resolve.TypeScriptGenericTypesEvaluator.getAllGenericTypeSubstitutor(TypeScriptGenericTypesEvaluator.java:233)
    at com.intellij.lang.typescript.resolve.TypeScriptGenericTypesEvaluator.doEvaluateGenerics(TypeScriptGenericTypesEvaluator.java:113)
    at com.intellij.lang.typescript.resolve.TypeScriptGenericTypesEvaluator.evaluateGenerics(TypeScriptGenericTypesEvaluator.java:93)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType$JSApplyCallTypeEvaluator.applyGenerics(JSApplyCallType.java:288)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType$JSApplyCallTypeEvaluator.applyToFunction(JSApplyCallType.java:243)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType$JSApplyCallTypeEvaluator.processSpecialTypes(JSApplyCallType.java:200)
    at com.intellij.lang.javascript.psi.types.evaluable.JSTypeStructuralPartEvaluator.evaluate(JSTypeStructuralPartEvaluator.java:25)
    at com.intellij.lang.javascript.psi.types.evaluable.JSApplyCallType.evaluate(JSApplyCallType.java:127)
    at com.intellij.lang.javascript.psi.types.evaluable.JSReferenceExpressionType$JSApplyResolveResultsType.evaluate(JSReferenceExpressionType.java:338)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.lambda$doUnwrapRecursively$0(JSEvaluableTypeResolver.java:86)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationRecursionGuard.compute(JSEvaluationRecursionGuard.java:36)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.doUnwrapRecursively(JSEvaluableTypeResolver.java:86)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.unwrapRecursively(JSEvaluableTypeResolver.java:74)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.lambda$doUnwrapRecursively$1(JSEvaluableTypeResolver.java:93)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationRecursionGuard.compute(JSEvaluationRecursionGuard.java:36)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.lambda$doUnwrapRecursively$2(JSEvaluableTypeResolver.java:92)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.transform(JSEvaluationResultElement.java:85)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.doUnwrapRecursively(JSEvaluableTypeResolver.java:88)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.unwrapRecursively(JSEvaluableTypeResolver.java:74)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.lambda$doUnwrapRecursively$1(JSEvaluableTypeResolver.java:93)
    at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:111)
    at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:43)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.doPreventingRecursion(JSComplexityAwareRecursionGuard.java:94)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationRecursionGuard.compute(JSEvaluationRecursionGuard.java:36)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.lambda$doUnwrapRecursively$2(JSEvaluableTypeResolver.java:92)
    at com.intellij.lang.javascript.psi.resolve.complexity.JSEvaluationResultElement.transform(JSEvaluationResultElement.java:85)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluableTypeResolver.doUnwrapRecursively(JSEvaluableTypeResolver.java:88)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationCache$CacheProviderExpressionType.apply(JSEvaluationCache.java:26)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationCache.lambda$doGetElementType$2(JSEvaluationCache.java:61)
    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:43)
    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.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:72)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.getCachedValue(JSComplexityAwareRecursionGuard.java:40)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationCache.doGetElementType(JSEvaluationCache.java:53)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluationCache.getElementType(JSEvaluationCache.java:47)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil.getElementJSType(JSResolveUtil.java:175)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil.getExpressionJSType(JSResolveUtil.java:164)
    at com.intellij.lang.javascript.psi.resolve.JSResolveUtil.getExpressionJSType(JSResolveUtil.java:156)
    at com.intellij.lang.javascript.psi.types.JSTypeofTypeImpl.processElement(JSTypeofTypeImpl.java:109)
    at com.intellij.lang.javascript.psi.types.JSTypeofTypeImpl.evaluateTypeInRange(JSTypeofTypeImpl.java:83)
    at com.intellij.lang.javascript.psi.types.JSTypeofTypeImpl.substituteImpl(JSTypeofTypeImpl.java:159)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.substituteNoCache(JSTypeBaseImpl.java:637)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.substituteAndOptimizeNoCache(JSTypeBaseImpl.java:629)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.lambda$substitute$1(JSTypeBaseImpl.java:618)
    at com.intellij.lang.javascript.psi.types.JSResolvedTypeIdCache.lambda$getLocalCachedValue$2(JSResolvedTypeIdCache.java:66)
    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:43)
    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:43)
    at com.intellij.lang.javascript.psi.resolve.JSEvaluatorComplexityTracker.runTask(JSEvaluatorComplexityTracker.java:72)
    at com.intellij.lang.javascript.psi.resolve.JSComplexityAwareRecursionGuard.getCachedValue(JSComplexityAwareRecursionGuard.java:40)
    at com.intellij.lang.javascript.psi.types.JSResolvedTypeIdCache.getLocalCachedValue(JSResolvedTypeIdCache.java:60)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl$JSResolvedTypeIdImpl.getLocalCachedValue(JSTypeBaseImpl.java:812)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.substitute(JSTypeBaseImpl.java:617)
    at com.intellij.lang.javascript.psi.types.JSTypeBaseImpl.substitute(JSTypeBaseImpl.java:606)
    at org.jetbrains.vuejs.codeInsight.VueUtilKt.resolveElementTo(VueUtil.kt:183)
    at org.jetbrains.vuejs.model.source.VueComponents$Companion.getComponentDescriptor(VueComponents.kt:95)
    at org.jetbrains.vuejs.model.source.VueDefaultContainerInfoProvider$ComponentsAccessor$build$3.apply(VueDefaultContainerInfoProvider.kt:157)
    at org.jetbrains.vuejs.model.source.VueDefaultContainerInfoProvider$ComponentsAccessor$build$3.apply(VueDefaultContainerInfoProvider.kt:140)
    at one.util.streamex.EntryStream.lambda$mapValues$13(EntryStream.java:515)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
    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.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
    at one.util.streamex.EntryStream.into(EntryStream.java:1552)
    at org.jetbrains.vuejs.model.source.VueDefaultContainerInfoProvider$ComponentsAccessor.build(VueDefaultContainerInfoProvider.kt:163)
    at org.jetbrains.vuejs.model.source.VueDefaultContainerInfoProvider$ComponentsAccessor.build(VueDefaultContainerInfoProvider.kt:140)
    at org.jetbrains.vuejs.model.source.EntityContainerInfoProvider$InitializedContainerInfoProvider$InitializedContainerInfo$get$1.apply(EntityContainerInfoProvider.kt:65)
    at org.jetbrains.vuejs.model.source.EntityContainerInfoProvider$InitializedContainerInfoProvider$InitializedContainerInfo$get$1.apply(EntityContainerInfoProvider.kt:60)
    at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1705)
    at org.jetbrains.vuejs.model.source.EntityContainerInfoProvider$InitializedContainerInfoProvider$InitializedContainerInfo.get(EntityContainerInfoProvider.kt:65)
    at org.jetbrains.vuejs.model.source.VueDefaultContainerInfoProvider$VueSourceContainerInfo.getComponents(VueDefaultContainerInfoProvider.kt:38)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$Companion$COMPONENTS$1.get(VueSourceContainer.kt:51)
    at kotlin.jvm.internal.PropertyReference1.invoke(PropertyReference1.java:35)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$MemberAccessor$get$1.invoke(VueSourceContainer.kt:76)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$MemberAccessor$get$1.invoke(VueSourceContainer.kt:70)
    at kotlin.sequences.TransformingSequence$iterator$1.next(Sequences.kt:210)
    at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:170)
    at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
    at org.jetbrains.vuejs.model.source.VueSourceContainer$MemberAccessor.get(VueSourceContainer.kt:165)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.get(VueSourceContainer.kt:44)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.getComponents(VueSourceContainer.kt:38)
    at org.jetbrains.vuejs.model.VueScopeElement$DefaultImpls.acceptEntities(VueScopeElement.kt:71)
    at org.jetbrains.vuejs.model.VueEntitiesContainer$DefaultImpls.acceptEntities(VueEntitiesContainer.kt)
    at org.jetbrains.vuejs.model.VueContainer$DefaultImpls.acceptEntities(VueContainer.kt)
    at org.jetbrains.vuejs.model.source.VueSourceContainer.acceptEntities(VueSourceContainer.kt:13)
    at org.jetbrains.vuejs.codeInsight.tags.VueTagProviderKt.resolveComponent(VueTagProvider.kt:51)
    at org.jetbrains.vuejs.codeInsight.tags.VueTagProvider.getDescriptor(VueTagProvider.kt:72)
    at com.intellij.psi.impl.source.xml.XmlTagDelegate.computeElementDescriptor(XmlTagDelegate.java:457)
    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.psi.impl.source.xml.XmlTagDelegate$1.compute(XmlTagDelegate.java:436)
    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.xml.XmlTagDelegate.getDescriptor(XmlTagDelegate.java:432)
    at com.intellij.psi.impl.source.xml.XmlTagImpl.getDescriptor(XmlTagImpl.java:128)
    at org.jetbrains.vuejs.codeInsight.VueXmlExtension.createTagNameReference(VueXmlExtension.kt:86)
    at com.intellij.psi.impl.source.xml.TagNameReference.createTagNameReference(TagNameReference.java:190)
    at com.intellij.psi.impl.source.xml.XmlTagDelegate.getReferencesImpl(XmlTagDelegate.java:139)
    at com.intellij.psi.impl.source.xml.XmlTagDelegate.lambda$getDefaultReferences$0(XmlTagDelegate.java:122)
    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.xml.XmlTagDelegate.getDefaultReferences(XmlTagDelegate.java:122)
    at com.intellij.psi.impl.source.xml.XmlTagImpl.getReferences(XmlTagImpl.java:94)
    at com.intellij.psi.impl.source.xml.XmlTagImpl.getReferences(XmlTagImpl.java:84)
    at com.intellij.codeInsight.daemon.impl.analysis.XmlNsPrefixAnnotator.annotate(XmlNsPrefixAnnotator.java:43)
    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.ana lyze(RainbowHighlightVisitor.kt:36)
    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.github.izhangzhihao.rainbow.brackets.visitor.RainbowHighlightVisitor.ana lyze(RainbowHighlightVisitor.kt:36)
    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.XmlHighlightVisitor.analyze(XmlHighlightVisitor.java:603)
    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)
izhangzhihao commented 3 years ago

Very smart to make analyze as ana lyze, but it's true that this is not a bug of this plugin, you can submit it to Jetbrains if you want. Thanks again for your support.

simonschaufi commented 3 years ago

ok