magento2-phpstorm-plugin
magento2-phpstorm-plugin copied to clipboard
java.lang.AssertionError: record(3794977).fileId(564878)
Describe the bug (*)
A clear and concise description of what the bug is.
java.lang.AssertionError: record(3794977).fileId(564878) != backref fileId(566969), AttributesRecord[directory][0..7, length: 7][backRefFileId: 566969, dedicatedAttributeId: -1]
at com.intellij.openapi.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.lambda$readAttributeValue$6(AttributesStorageOverBlobStorage.java:997)
at com.intellij.openapi.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageOverMMappedFile.readRecord(StreamlinedBlobStorageOverMMappedFile.java:219)
at com.intellij.openapi.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageHelper.readRecord(StreamlinedBlobStorageHelper.java:216)
at com.intellij.openapi.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.readAttributeValue(AttributesStorageOverBlobStorage.java:995)
at com.intellij.openapi.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.readAttribute(AttributesStorageOverBlobStorage.java:100)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSAttributeAccessor.readAttribute(PersistentFSAttributeAccessor.java:34)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.readAttribute(FSRecordsImpl.java:1185)
at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.readAttributeWithLock(FSRecordsImpl.java:1175)
at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.readAttribute(PersistentFSImpl.java:425)
at com.intellij.openapi.vfs.newvfs.FileAttribute.readFileAttribute(FileAttribute.java:72)
at com.intellij.psi.FilePropertyKeyImpl.readValue(FilePropertyKeyImpl.kt:71)
at com.intellij.psi.FilePropertyKeyImpl.getRaw(FilePropertyKeyImpl.kt:40)
at com.intellij.psi.FilePropertyKeyImpl.getPersistentValue(FilePropertyKeyImpl.kt:28)
at com.intellij.lang.PerFileMappingsBase.getMappingInner(PerFileMappingsBase.java:119)
at com.intellij.lang.PerFileMappingsBase.getConfiguredMapping(PerFileMappingsBase.java:100)
at com.intellij.psi.templateLanguages.TemplateDataLanguageMappings.getMapping(TemplateDataLanguageMappings.java:46)
at com.jetbrains.php.lang.PhpFileViewProvider.getTemplateDataLanguage(PhpFileViewProvider.java:308)
at com.jetbrains.php.lang.PhpFileViewProvider.<init>(PhpFileViewProvider.java:52)
at com.jetbrains.php.lang.PhpFileViewProviderFactory.createFileViewProvider(PhpFileViewProviderFactory.java:17)
at com.intellij.psi.impl.PsiFileFactoryImpl.trySetupPsiForFile(PsiFileFactoryImpl.java:101)
at com.intellij.psi.impl.PsiFileFactoryImpl.createFileFromText(PsiFileFactoryImpl.java:74)
at com.intellij.util.indexing.FileContentImpl.createFileFromText(FileContentImpl.java:87)
at com.intellij.util.indexing.FileContentImpl.createFileFromText(FileContentImpl.java:80)
at com.intellij.util.indexing.FileContentImpl.getPsiFile(FileContentImpl.java:232)
at com.jetbrains.php.lang.psi.stubs.indexes.PhpConstantNameIndex$1.map(PhpConstantNameIndex.java:32)
at com.jetbrains.php.lang.psi.stubs.indexes.PhpConstantNameIndex$1.map(PhpConstantNameIndex.java:27)
at com.intellij.util.indexing.impl.MapReduceIndex.mapByIndexer(MapReduceIndex.java:318)
at com.intellij.util.indexing.impl.MapReduceIndex.mapInput(MapReduceIndex.java:309)
at com.intellij.util.indexing.impl.MapReduceIndex.mapInputAndPrepareUpdate(MapReduceIndex.java:254)
at com.intellij.indexing.composite.CompositeInvertedIndexBase.updateBaseIndex(CompositeInvertedIndexBase.java:283)
at com.intellij.indexing.composite.CompositeInvertedIndexBase.mapInputAndPrepareUpdate(CompositeInvertedIndexBase.java:63)
at com.intellij.indexing.composite.CompositeInvertedIndexBase.mapInputAndPrepareUpdate(CompositeInvertedIndexBase.java:29)
at com.intellij.util.indexing.FileBasedIndexImpl.createSingleIndexValueApplier(FileBasedIndexImpl.java:1571)
at com.intellij.util.indexing.FileBasedIndexImpl.lambda$doIndexFileContent$23(FileBasedIndexImpl.java:1444)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.freezeFileTypeTemporarilyWithProvidedValueIn(FileTypeManagerImpl.java:678)
at com.intellij.util.indexing.FileBasedIndexImpl.doIndexFileContent(FileBasedIndexImpl.java:1397)
at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1371)
at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1317)
at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1682)
at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1676)
at com.intellij.util.indexing.UpdateTask.process(UpdateTask.java:63)
at com.intellij.util.indexing.UpdateTask.processAll(UpdateTask.java:32)
at com.intellij.util.indexing.FileBasedIndexImpl.forceUpdate(FileBasedIndexImpl.java:1699)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:788)
at com.intellij.psi.stubs.StubIndexEx.getContainingIds(StubIndexEx.java:358)
at com.intellij.psi.stubs.StubIndexEx.processElements(StubIndexEx.java:168)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:102)
at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:90)
at com.jetbrains.php.PhpIndexImpl.getElements(PhpIndexImpl.java:746)
at com.jetbrains.php.PhpIndexImpl.getByName(PhpIndexImpl.java:1183)
at com.jetbrains.php.PhpIndexImpl.getByFQN(PhpIndexImpl.java:1160)
at com.jetbrains.php.PhpIndexImpl.getByFqnCacheAware(PhpIndexImpl.java:1241)
at com.jetbrains.php.PhpIndexImpl.getClassesByFQNInternal(PhpIndexImpl.java:1236)
at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:1275)
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:184)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.mapNotEmptyReferencesFromProviders(ReferenceProvidersRegistryImpl.java:165)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistryImpl.doGetReferencesFromProviders(ReferenceProvidersRegistryImpl.java:144)
at com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry.lambda$getReferencesFromProviders$0(ReferenceProvidersRegistry.java:44)
at com.intellij.psi.util.CachedValuesManager$1.compute(CachedValuesMan
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 12.5.1
- PhpStorm/Intellij version: 2023.3.3
- Plugin Version: 5.1.1
Additional context
Add any other context about the problem here.