Error in SonarLint for IntelliJ 10.5 java.io.UncheckedIOException: c.ij.util.io.CorruptedException:

Environment:

  • Java: JetBrains s.r.o. 17.0.10
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2024.1
  • SonarLint: 10.5.0.78339

SonarLintTrafficLightAction#presentation@EditorInspectionsToolbar (org.sonarlint.intellij.ui.traffic.light.SonarLintTrafficLightAction)

java.io.UncheckedIOException: c.ij.util.io.CorruptedException: file[353574].child[9][#544813] is out of valid/allocated id range (1..544535] -> VFS is corrupted (was IDE forcibly terminated?)
	at c.ij.oa.vfs.newvfs.persistent.FSRecordsImpl.lambda$static$0(FSRecordsImpl.java:148)
	at c.ij.oa.vfs.newvfs.persistent.FSRecordsImpl.handleError(FSRecordsImpl.java:1391)
	at c.ij.oa.vfs.newvfs.persistent.FSRecordsImpl.list(FSRecordsImpl.java:713)
	at c.ij.oa.vfs.newvfs.persistent.FSRecordsImpl.update(FSRecordsImpl.java:733)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:673)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:157)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:139)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:85)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:534)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:51)
	at c.ij.oa.vfs.VirtualFile.findFileByRelativePath(VirtualFile.java:384)
	at o.sl.ij.finding.persistence.PathStoreKeyValidator.apply(PathStoreKeyValidator.java:32)
	at o.sl.ij.finding.persistence.PathStoreKeyValidator.apply(PathStoreKeyValidator.java:24)

Hi @Nuriddin

Is this the full stack trace? If not, could you share the full stack trace?
Also, what were you doing when you encountered this error, and is it reproducible by doing the same actions?

Thank you

On top of what @eray.felek said, this issue seems related to a corrupted virtual file within your IDE. I recommend you invalidate the cache and restart the IDE if this happens again.