Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instruction detection problem #2104

Closed
hurricup opened this issue Aug 8, 2019 · 1 comment
Closed

Instruction detection problem #2104

hurricup opened this issue Aug 8, 2019 · 1 comment

Comments

@hurricup
Copy link
Collaborator

hurricup commented Aug 8, 2019

Build: IU-192.5728.98
OS: Mac OS X x86_64 10.14.6
Java Vendor: JetBrains s.r.o
Java Version: 11.0.3
Java Arch: 64 bit
Java Runtime Version: 11.0.3+12-b304.10
Perl Plugin Version: 2019.2.1
Description:

IdeaLoggingEvent[message=null, throwable=java.lang.Throwable: Unable to find an instruction for class com.perl5.lang.perl.psi.impl.PsiPerlScalarVariableImpl; $log; (17012,17016); file:///Users/.....pm; class com.perl5.lang.perl.psi.impl.PerlFileImpl; class com.perl5.lang.perl.psi.impl.PsiPerlScalarVariableImpl: class com.perl5.lang.perl.psi.impl.PsiPerlDerefExprImpl: class com.perl5.lang.perl.psi.impl.PsiPerlStatementImpl: class com.perl5.lang.perl.psi.impl.PsiPerlBlockImpl: class com.perl5.lang.perl.psi.impl.PerlCompositeElementImpl: class com.perl5.lang.perl.psi.impl.PsiPerlBlockCompoundImpl: class com.perl5.lang.perl.psi.impl.PsiPerlNamespaceContentImpl: class com.perl5.lang.perl.psi.impl.PsiPerlNamespaceDefinitionImpl: class com.perl5.lang.perl.psi.impl.PerlFileImpl: 
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:145)
	at com.perl5.lang.perl.psi.utils.PerlResolveUtil.getValueFromControlFlow(PerlResolveUtil.java:267)
	at com.perl5.lang.perl.psi.utils.PerlResolveUtil.inferVariableValue(PerlResolveUtil.java:195)
	at com.perl5.lang.perl.psi.mixins.PerlVariableMixin.computePerlValue(PerlVariableMixin.java:88)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.computeValue(PerlValuesManager.java:158)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.lambda$null$0(PerlValuesManager.java:142)
	at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.lambda$from$1(PerlValuesManager.java:142)
	at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:148)
	at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:240)
	at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
	at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241)
	at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.from(PerlValuesManager.java:140)
	at com.perl5.lang.perl.psi.mixins.PerlMethodMixin.computePerlValue(PerlMethodMixin.java:98)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.computeValue(PerlValuesManager.java:158)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.lambda$null$0(PerlValuesManager.java:142)
	at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.lambda$from$1(PerlValuesManager.java:142)
	at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:148)
	at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
	at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:240)
	at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
	at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241)
	at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72)
	at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147)
	at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlValuesManager.from(PerlValuesManager.java:140)
	at com.perl5.lang.perl.idea.codeInsight.typeInference.value.PerlCallValue.from(PerlCallValue.java:353)
	at com.perl5.lang.perl.psi.references.PerlSubReference.resolveInner(PerlSubReference.java:46)
	at com.intellij.psi.impl.source.resolve.ResolveCache$PolyVariantResolver.resolve(ResolveCache.java:68)
	at com.intellij.psi.impl.source.resolve.ResolveCache.lambda$resolve$0(ResolveCache.java:149)
	at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
	at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
	at com.intellij.psi.impl.source.resolve.ResolveCache.resolve(ResolveCache.java:148)
	at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:179)
	at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:171)
	at com.perl5.lang.perl.psi.references.PerlCachingReference.multiResolve(PerlCachingReference.java:60)
	at com.intellij.psi.PsiPolyVariantReferenceBase.resolve(PsiPolyVariantReferenceBase.java:47)
	at com.perl5.lang.perl.psi.impl.PerlSubNameElementImpl.isBuiltIn(PerlSubNameElementImpl.java:74)
	at com.perl5.lang.perl.idea.inspections.PerlUnresolvedSubInspection$1.visitPerlMethodCall(PerlUnresolvedSubInspection.java:55)
	at com.perl5.lang.perl.psi.PsiPerlVisitor.visitMethod(PsiPerlVisitor.java:480)
	at com.perl5.lang.perl.psi.impl.PsiPerlMethodImpl.accept(PsiPerlMethodImpl.java:21)
	at com.perl5.lang.perl.psi.impl.PsiPerlMethodImpl.accept(PsiPerlMethodImpl.java:25)
	at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:75)
	at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:63)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.runToolOnElements(LocalInspectionsPass.java:297)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$5(LocalInspectionsPass.java:265)
	at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:156)
	at com.intellij.util.AstLoadingFilter.forceAllowTreeLoading(AstLoadingFilter.java:148)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$null$6(LocalInspectionsPass.java:262)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:127)
	at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:116)
	at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitPriorityElementsAndInit$7(LocalInspectionsPass.java:262)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:133)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
	at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:105)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
	at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116)
	at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:96)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:164)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:204)
	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:96)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
	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)]
@hurricup hurricup added this to the 2019.2.2 milestone Aug 8, 2019
@hurricup
Copy link
Collaborator Author

Duplicates #2103

hurricup added a commit that referenced this issue Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant