[Bug] java.io.IOException: [C:\Users\38099\AppData\Local\JetBrains\PhpStorm2024.1\index\fastAttributes\fileIncludes.index.version.fast]: fileSize(=8273920 b) is not page(=4194304 b)-aligned #77
Please, describe as much as possible about of what the bug is. It will help to solve this issue faster.
StackTrace from IDE
java.io.IOException: [C:\Users\38099\AppData\Local\JetBrains\PhpStorm2024.1\index\fastAttributes\fileIncludes.index.version.fast]: fileSize(=8273920 b) is not page(=4194304 b)-aligned
at com.intellij.util.io.dev.mmapped.MMappedFileStorageFactory.dealWithPageUnAlignedFileSize(MMappedFileStorageFactory.java:128)
at com.intellij.util.io.dev.mmapped.MMappedFileStorageFactory.open(MMappedFileStorageFactory.java:96)
at com.intellij.util.io.dev.mmapped.MMappedFileStorageFactory.open(MMappedFileStorageFactory.java:20)
at com.intellij.util.io.dev.StorageFactory.wrapStorageSafely(StorageFactory.java:31)
at com.intellij.openapi.vfs.newvfs.persistent.mapped.MappedFileStorageHelper.openHelper(MappedFileStorageHelper.java:91)
at com.intellij.openapi.vfs.newvfs.persistent.mapped.MappedFileStorageHelper.openHelperAndVerifyVersions(MappedFileStorageHelper.java:145)
at com.intellij.openapi.vfs.newvfs.persistent.SpecializedFileAttributes.specializeAsFastInt(SpecializedFileAttributes.java:201)
at com.intellij.util.indexing.impl.perFileVersion.IntFileAttributeImpl$attributeAccessor$1.invoke(IntFileAttribute.kt:57)
at com.intellij.util.indexing.impl.perFileVersion.IntFileAttributeImpl$attributeAccessor$1.invoke(IntFileAttribute.kt:55)
at com.intellij.util.indexing.impl.perFileVersion.AutoRefreshingOnVfsCloseRef.invoke(AutoRefreshingOnVfsCloseRef.kt:27)
at com.intellij.util.indexing.impl.perFileVersion.IntFileAttributeImpl.writeInt(IntFileAttribute.kt:69)
at com.intellij.util.indexing.impl.perFileVersion.PersistentSubIndexerRetriever.setFileIndexerId(PersistentSubIndexerRetriever.java:82)
at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.setIndexedStateForFileOnFileIndexMetaData(VfsAwareMapReduceIndex.java:164)
at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.setIndexedStateForFileOnFileIndexMetaData(VfsAwareMapReduceIndex.java:32)
at com.intellij.indexing.composite.CompositeInvertedIndexBase.setIndexedStateForFileOnFileIndexMetaData(CompositeInvertedIndexBase.java:195)
at com.intellij.util.indexing.SingleIndexValueApplier.lambda$doApply$0(SingleIndexValueApplier.java:71)
at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:264)
at com.intellij.util.indexing.SingleIndexValueApplier.doApply(SingleIndexValueApplier.java:67)
at com.intellij.util.indexing.SingleIndexValueApplier.apply(SingleIndexValueApplier.java:50)
at com.intellij.util.indexing.FileIndexesValuesApplier.applyModifications(FileIndexesValuesApplier.java:223)
at com.intellij.util.indexing.FileIndexesValuesApplier.apply(FileIndexesValuesApplier.java:155)
at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1332)
at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1701)
at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1695)
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:1718)
at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:810)
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:753)
at com.jetbrains.php.PhpIndexImpl.getByName(PhpIndexImpl.java:1190)
at com.jetbrains.php.PhpIndexImpl.getByFQN(PhpIndexImpl.java:1167)
at com.jetbrains.php.PhpIndexImpl.getByFqnCacheAware(PhpIndexImpl.java:1248)
at com.jetbrains.php.PhpIndexImpl.getClassesByFQNInternal(PhpIndexImpl.java:1243)
at com.jetbrains.php.PhpIndexImpl.getAnyByFQN(PhpIndexImpl.java:1282)
at com.atwix.magento.lang.php.util.PhpIndexProviderUtil.getAnyByFQN(PhpIndexProviderUtil.kt:58)
at com.atwix.magento.lang.php.util.PhpIndexProviderUtil.getPhpTypeByFqn(PhpIndexProviderUtil.kt:29)
at com.atwix.magento.lang.php.reference.provider.PhpClassReferenceProvider.getReferencesByElement(PhpClassReferenceProvider.kt: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.getReferencesFromProviders(ReferenceProvidersRegistry.java:51)
at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getReferences(XmlAttributeValueImpl.java:80)
at com.intellij.psi.impl.SharedPsiElementImplUtil.addReferences(SharedPsiElementImplUtil.java:56)
at com.intellij.psi.impl.SharedPsiElementImplUtil.findReferenceAt(SharedPsiElementImplUtil.java:33)
at com.intellij.psi.impl.SharedPsiElementImplUtil.findRefer
To Reproduce (*)
Go to '...'
Click on '....'
Scroll down to '....'
See error
Screenshots
If applicable, add screenshots to help explain your problem.
This issue has already been raised in a previous ticket that you created: 76. It stems from the same underlying cause related to the native indexes in PHPStorm.
Describe the bug (*)
Please, describe as much as possible about of what the bug is. It will help to solve this issue faster.
StackTrace from IDE
To Reproduce (*)
Screenshots
If applicable, add screenshots to help explain your problem.
System information: