Atwix / phpstorm-plugin-feedback

6 stars 0 forks source link

[Bug] java.lang.RuntimeException: java.io.EOFException #3

Closed naseeraslam closed 1 year ago

naseeraslam commented 1 year 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.lang.RuntimeException: java.io.EOFException
    at com.intellij.util.ExceptionUtil.rethrow(ExceptionUtil.java:132)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSConnection.handleError(PersistentFSConnection.java:311)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.handleError(FSRecords.java:812)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.writeAndHandleErrors(FSRecords.java:309)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.createRecord(FSRecords.java:181)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.makeChildRecord(PersistentFSImpl.java:1596)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.lambda$findChildInfo$4(PersistentFSImpl.java:442)
    at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.update(FSRecords.java:349)
    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:453)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:150)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:132)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:78)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:538)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:45)
    at com.intellij.openapi.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:63)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java:123)
    at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findByUrl(VirtualFileManagerImpl.java:372)
    at com.intellij.openapi.vfs.impl.VirtualFileManagerImpl.findFileByUrl(VirtualFileManagerImpl.java:359)
    at com.intellij.workspaceModel.ide.impl.VirtualFileUrlBridge.findVirtualFile(VirtualFileUrlBridge.kt:41)
    at com.intellij.workspaceModel.ide.impl.VirtualFileUrlBridge.getFile(VirtualFileUrlBridge.kt:18)
    at com.intellij.workspaceModel.ide.impl.legacyBridge.module.roots.ExcludeFolderBridge.getFile(ContentFolderBridge.kt:130)
    at com.intellij.workspaceModel.ide.impl.legacyBridge.module.roots.ContentEntryBridge.getExcludeFolderFiles(ContentEntryBridge.kt:40)
    at com.intellij.openapi.roots.impl.RootIndex.buildRootInfo(RootIndex.java:187)
    at com.intellij.openapi.roots.impl.RootIndex.<init>(RootIndex.java:73)
    at com.intellij.openapi.roots.impl.RootIndex.<init>(RootIndex.java:56)
    at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getRootIndex(DirectoryIndexImpl.java:160)
    at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getRootIndex(DirectoryIndexImpl.java:142)
    at com.intellij.openapi.roots.impl.DirectoryIndexImpl.getInfoForFile(DirectoryIndexImpl.java:170)
    at com.intellij.openapi.roots.impl.FileIndexBase.getInfoForFileOrDirectory(FileIndexBase.java:96)
    at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.getInfoForFileOrDirectory(ProjectFileIndexImpl.java:27)
    at com.intellij.openapi.roots.impl.ProjectFileIndexImpl.isUnderIgnored(ProjectFileIndexImpl.java:87)
    at com.intellij.openapi.roots.impl.ProjectFileIndexFacade.isUnderIgnored(ProjectFileIndexFacade.java:60)
    at com.intellij.psi.impl.file.impl.FileManagerImpl.isExcludedOrIgnored(FileManagerImpl.java:425)
    at com.intellij.psi.impl.file.impl.FileManagerImpl.findDirectoryImpl(FileManagerImpl.java:411)
    at com.intellij.psi.impl.file.impl.FileManagerImpl.findDirectory(FileManagerImpl.java:403)
    at com.intellij.psi.impl.PsiManagerImpl.findDirectory(PsiManagerImpl.java:168)
    at com.intellij.psi.AbstractFileViewProvider.shouldCreatePsi(AbstractFileViewProvider.java:90)
    at com.intellij.psi.SingleRootFileViewProvider.createFile(SingleRootFileViewProvider.java:144)
    at com.intellij.psi.SingleRootFileViewProvider.getPsiInner(SingleRootFileViewProvider.java:100)
    at com.intellij.psi.AbstractFileViewProvider.getPsi(AbstractFileViewProvider.java:194)
    at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:363)
    at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:155)
    at com.atwix.magento.project.configurator.validator.MagentoInstallationValidator.isValid(MagentoInstallationValidator.java:47)
    at com.atwix.magento.project.configurator.AutoConfigurationService.runActivity$lambda-0(AutoConfigurationService.kt:39)
    at com.intellij.openapi.project.DumbServiceImpl.lambda$smartInvokeLater$9(DumbServiceImpl.java:530)
    at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
    at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
    at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
    at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
    at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513)
    at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75)
    at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118)
    at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
    at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doInterse

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:

Vipul0052 commented 1 year ago

EOFException occurred while trying to read from a file or stream. This exception is thrown when the end of a file or stream is reached unexpectedly during an input operation.

It appears that the exception occurred while trying to create a new record in a file system connection. This could be due to a number of reasons, including corruption of the file system data, a problem with the file system itself, or an issue with the hardware on which the file system is stored.

To troubleshoot this issue, you could try running a file system check tool to see if there are any issues with the file system. You might also want to check the logs for any additional information about the cause of the exception. If the issue persists, it might be necessary to restore the file system from a backup.

bohdan-harniuk commented 1 year ago

Hello, @naseeraslam! Thank you for your report! We'll investigate provided information and update you with results. Regards,

naseeraslam commented 1 year ago

Thank you for your response.Actully issue might be due to I was using 🔌 previous version may be when I updated my plugin it's resolved above mentioned issue.

On Mon, 2 Jan 2023, 12:48 am bohdan-harniuk, @.***> wrote:

Hello, @naseeraslam https://github.com/naseeraslam! Thank you for your report! We'll investigate provided information and update you with results. Regards,

— Reply to this email directly, view it on GitHub https://github.com/Atwix/phpstorm-plugin-feedback/issues/3#issuecomment-1368518294, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQQUSV2HAWDCDCVI4HJEULWQHNRRANCNFSM6AAAAAATMDRQPY . You are receiving this because you were mentioned.Message ID: @.***>