-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
Description
Describe the bug (*)
A clear and concise description of what the bug is.
java.lang.Throwable: Stub index points to a file (file = file:///Volumes/Sites/kenable-scott/src/vendor/squizlabs/php_codesniffer/src/Generators/Text.php, file type = com.jetbrains.php.lang.PhpFileType@5806e4ff, indexed file type = com.jetbrains.php.lang.PhpFileType@5806e4ff) without indexed stub tree; indexing stamp = indexing timestamp = 1757051229000, binary = false, byte size = 9180, char size = 9180, can have stubs = true, actual stub count = 0
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:375)
at com.intellij.psi.stubs.StubProcessingHelper.retrieveStubIdList(StubProcessingHelper.java:39)
at com.intellij.psi.stubs.StubIndexEx.lambda$processElements$7(StubIndexEx.java:205)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:204)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:104)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:93)
at com.jetbrains.php.PhpIndexImpl.getElements(PhpIndexImpl.java:753)
at com.jetbrains.php.PhpIndexImpl.getByName(PhpIndexImpl.java:1179)
at com.jetbrains.php.PhpIndexImpl.getByFQN(PhpIndexImpl.java:1156)
at com.jetbrains.php.PhpIndexImpl.getByFqnCacheAware(PhpIndexImpl.java:1237)
at com.jetbrains.php.PhpIndexImpl.getClassesByFQNInternal(PhpIndexImpl.java:1232)
at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:1271)
at com.magento.idea.magento2plugin.reference.provider.PhpClassReferenceProvider.getReferencesByElement(PhpClassReferenceProvider.java:80)
at com.magento.idea.magento2plugin.reference.provider.CompositeReferenceProvider.getReferencesByElement(CompositeReferenceProvider.java:30)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.getReferences(ReferenceProvidersRegistryImpl.java:164)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:145)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:124)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.getReferencesFromProviders(ReferenceProvidersRegistry.java:51)
at com.intellij.psi.impl.source.xml.XmlTokenImpl.getReferences(XmlTokenImpl.java:58)
at com.intellij.psi.PsiReferenceServiceImpl.doGetReferences(PsiReferenceServiceImpl.java:37)
at com.intellij.psi.PsiReferenceServiceImpl.getReferences(PsiReferenceServiceImpl.java:27)
at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.calculateReferences(HyperlinkAnnotator.java:80)
at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.lambda$static$0(HyperlinkAnnotator.java:87)
at com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.kt:24)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$3(CachedValueBase.java:299)
at com.intellij.util.CachedValueBase.computeData(CachedValueBase.java:37)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$4(CachedValueBase.java:299)
at com.intellij.openapi.util.RecursionManager$1.computePreventingRecursion(RecursionManager.java:113)
at com.intellij.openapi.util.RecursionGuard.doPreventingRecursion(RecursionGuard.java:28)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:68)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:300)
at com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.kt:18)
at com.intellij.psi.util.CachedValuesManager.getParameterizedCachedValue(CachedValuesManager.java:97)
at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.getReferences(HyperlinkAnnotator.java:99)
at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotateContributedReferences(HyperlinkAnnotator.java:64)
at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:59)
at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.runAnnotatorWithContext(AnnotationHolderImpl.java:213)
at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotator$2(AnnotatorRunner.java:132)
at com.intellij.codeInsight.daemon.impl.AnnotationSessionImpl.computeWithSession(AnnotationSessionImpl.java:87)
at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.runAnnotator(AnnotatorRunner.java:122)
at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotatorsAsync$0(AnnotatorRunner.java:70)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction$lambda$11(AnyThreadWriteThreadingSupport.kt:522)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithTemporaryThreadLocal(AnyThreadWriteThreadingSupport.kt:204)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:522)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1064)
at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotatorsAsync$1(AnnotatorRunner.java:70)
at com.intellij.concurrency.ApplierCompleter.processArrayItem(ApplierCompleter.java:121)
at com.intellij.concurrency.ApplierCompleter.processArray(ApplierCompleter.java:205)
at com.intellij.concurrency.ApplierCompleter.helpOthers(ApplierCompleter.java:225)
at com.intellij.concurrency.ApplierCompleter.helpAll(ApplierCompleter.java:183)
at com.intellij.concurrency.ApplierCompleter.lambda$exec$0(ApplierCompleter.java:111)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction$lambda$11(AnyThreadWriteThreadingSupport.kt:522)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithTemporaryThreadLocal(AnyThreadWriteThreadingSupport.kt:204)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:522)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1064)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$2(ApplierCompleter.java:153)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:680)
at com.intellij.openapi.progress.i
To Reproduce (*)
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior (*)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information: (*)
- OS: Mac OS X 26.2
- PhpStorm/Intellij version: 2025.1.1
- Plugin Version: 2025.2.2
Additional context
Add any other context about the problem here.
Reactions are currently unavailable