Atwix / phpstorm-plugin-feedback

6 stars 0 forks source link

[Bug] java.io.IOException: [C:\Users\38099\AppData\Local\JetBrains\PhpStorm2024.1\index\fastAttributes\FrameworkDetectionIndex.index.version.fast]: fileSize(=8323072 b) is not page(=4194304 b)-aligned #79

Closed quterorta closed 4 months ago

quterorta commented 4 months ago

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

java.io.IOException: [C:\Users\38099\AppData\Local\JetBrains\PhpStorm2024.1\index\fastAttributes\FrameworkDetectionIndex.index.version.fast]: fileSize(=8323072 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.perFileVersion.PersistentSubIndexerRetriever.setUnindexedState(PersistentSubIndexerRetriever.java:78)
    at com.intellij.util.indexing.impl.storage.VfsAwareMapReduceIndex.setUnindexedStateForFile(VfsAwareMapReduceIndex.java:195)
    at com.intellij.indexing.composite.CompositeInvertedIndexBase.setUnindexedStateForFile(CompositeInvertedIndexBase.java:218)
    at com.intellij.util.indexing.SingleIndexValueRemover.lambda$remove$0(SingleIndexValueRemover.java:67)
    at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:264)
    at com.intellij.util.indexing.SingleIndexValueRemover.remove(SingleIndexValueRemover.java:66)
    at com.intellij.util.indexing.FileBasedIndexImpl.removeSingleIndexValue(FileBasedIndexImpl.java:1634)
    at com.intellij.util.indexing.FileBasedIndexImpl.removeFileDataFromIndices(FileBasedIndexImpl.java:716)
    at com.intellij.util.indexing.FileBasedIndexImpl.lambda$removeDataFromIndicesForFile$9(FileBasedIndexImpl.java:703)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:269)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:684)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:277)
    at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:53)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:277)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:268)
    at com.intellij.util.indexing.FileBasedIndexImpl.removeDataFromIndicesForFile(FileBasedIndexImpl.java:703)
    at com.intellij.util.indexing.events.FilesToUpdateCollector.removeNonIndexableFileData(FilesToUpdateCollector.java:53)
    at com.intellij.util.indexing.events.FilesToUpdateCollector.scheduleForUpdate(FilesToUpdateCollector.java:33)
    at com.intellij.util.indexing.FileBasedIndexImpl.doInvalidateIndicesForFile(FileBasedIndexImpl.java:1819)
    at com.intellij.util.indexing.events.ChangedFilesCollector$4.process(ChangedFilesCollector.java:195)
    at com.intellij.util.indexing.events.ChangedFilesCollector$5.lambda$process$0(ChangedFilesCollector.java:241)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:269)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:277)
    at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:57)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:277)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:268)
    at com.intellij.util.indexing.events.ChangedFilesCollector$5.lambda$process$1(ChangedFilesCollector.java:240)
    at com.intellij.util.ConcurrencyUtil.withLock(ConcurrencyUtil.java:246)
    at com.intellij.util.indexing.events.ChangedFilesCollector$5.process(ChangedFilesCollector.java:238)
    at com.intellij.util.indexing.events.VfsEventsMerger.processChanges(VfsEventsMerger.java:115)
    at com.intellij.util.indexing.events.ChangedFilesCollector.processFilesInReadAction(ChangedFilesCollector.java:235)
    at com.intellij.util.indexing.events.ChangedFilesCollector.processFilesToUpdateInReadAction(ChangedFilesCollector.java:183)
    at com.intellij.ut

To Reproduce (*)

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

If applicable, add screenshots to help explain your problem.

System information:

bohdan-harniuk commented 4 months ago

Duplicate of #78