Skip to content

Bug Report 2026/05/26 #2701

@jakwinkler

Description

@jakwinkler

Describe the bug (*)

A clear and concise description of what the bug is.

java.lang.Throwable: [file:///Volumes/qoliber/extension-store/vendor/opensearch-project/opensearch-php, id: 3015475, parentId: 3014392, parent.id: 3014392] expected to be in [file:///Volumes/qoliber/extension-store/vendor/opensearch-project, id: 3014392, this == parent?: true].children=Children[ids: [3015273], sortedByName: true, allLoaded: false] -- but absent. childId in persistent children: false, was in persistent children: false -> refresh race or VFS inconsistency?
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:375)
	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChildById(VirtualDirectoryImpl.java:761)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$FileByIdResolver.findChild(PersistentFSImpl.java:2127)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$FileByIdResolver.resolveDescending(PersistentFSImpl.java:2114)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl$FileByIdResolver.resolve(PersistentFSImpl.java:2031)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findFileById(PersistentFSImpl.java:1861)
	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findFileById(PersistentFSImpl.java:79)
	at com.intellij.util.indexing.FileBasedIndexImpl.findFileById(FileBasedIndexImpl.java:1222)
	at com.intellij.psi.stubs.StubIndexImplUtil$1.findNext(StubIndexImplUtil.java:35)
	at com.intellij.psi.stubs.StubIndexImplUtil$1.next(StubIndexImplUtil.java:48)
	at com.intellij.psi.stubs.StubIndexImplUtil$1.next(StubIndexImplUtil.java:17)
	at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:207)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:101)
	at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:90)
	at com.jetbrains.php.PhpIndexImpl.getElements(PhpIndexImpl.java:756)
	at com.jetbrains.php.PhpIndexImpl.lambda$getByName$38(PhpIndexImpl.java:1170)
	at com.jetbrains.php.caches.CostAdaptiveCache.getOrCompute(CostAdaptiveCache.kt:20)
	at com.jetbrains.php.PhpIndexImpl.getByName(PhpIndexImpl.java:1169)
	at com.jetbrains.php.PhpIndexImpl.lambda$getByFQN$37(PhpIndexImpl.java:1156)
	at com.jetbrains.php.caches.CostAdaptiveCache.getOrCompute(CostAdaptiveCache.kt:20)
	at com.jetbrains.php.PhpIndexImpl.getByFQN(PhpIndexImpl.java:1154)
	at com.jetbrains.php.PhpIndexImpl.getByFqnCacheAware(PhpIndexImpl.java:1227)
	at com.jetbrains.php.PhpIndexImpl.getClassesByFQNInternal(PhpIndexImpl.java:1222)
	at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:1261)
	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:162)
	at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:143)
	at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:122)
	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:85)
	at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.lambda$static$0(HyperlinkAnnotator.java:92)
	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:104)
	at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotateContributedReferences(HyperlinkAnnotator.java:69)
	at com.intellij.codeInsight.highlighting.HyperlinkAnnotator.annotate(HyperlinkAnnotator.java:64)
	at com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.runAnnotatorWithContext(AnnotationHolderImpl.java:212)
	at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotator$2(AnnotatorRunner.java:134)
	at com.intellij.codeInsight.daemon.impl.AnnotationSessionImpl.computeWithSession(AnnotationSessionImpl.java:87)
	at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.runAnnotator(AnnotatorRunner.java:124)
	at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotatorsAsync$0(AnnotatorRunner.java:71)
	at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.tryRunReadAction(NestedLocksThreadingSupport.kt:902)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1237)
	at com.intellij.codeInsight.daemon.impl.AnnotatorRunner.lambda$runAnnotatorsAsync$1(AnnotatorRunner.java:71)
	at com.intellij.concurrency.ApplierCompleter.processArrayItem(ApplierCompleter.java:121)
	at com.intellij.concurrency.ApplierCompleter.processArray(ApplierCompleter.java:221)
	at com.intellij.concurrency.ApplierCompleter.helpOthers(ApplierCompleter.java:241)
	at com.intellij.concurrency.ApplierCompleter.lambda$helpAll$3(ApplierCompleter.java:182)
	at com.intellij.c

To Reproduce (*)

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.5
  • PhpStorm/Intellij version: 2025.3.1
  • Plugin Version: 2025.2.2

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions