Error in SonarLint for IntelliJ : Unable to open my project

Environment:

  • Java: JetBrains s.r.o. 17.0.6
  • OS: Windows 11 amd64
  • IDE: IntelliJ IDEA 2022.3.3
  • SonarLint: 8.1.0.65508
java.lang.RuntimeException: VFS name enumerator corrupted
	at c.ij.oa.vfs.newvfs.impl.FileNameCache.cacheData(FileNameCache.java:70)
	at c.ij.oa.vfs.newvfs.impl.FileNameCache.getVFileName(FileNameCache.java:143)
	at c.ij.oa.vfs.newvfs.impl.FileNameCache.getVFileName(FileNameCache.java:152)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findExistingChildInfo(PersistentFSImpl.java:470)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.lambda$findChildInfo$4(PersistentFSImpl.java:413)
	at c.ij.oa.vfs.newvfs.persistent.FSRecords.update(FSRecords.java:386)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:450)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:142)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:128)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:77)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:519)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:49)
	at c.ij.oa.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:55)
	at c.ij.oa.vfs.impl.local.LocalFileSystemBase.findFileByPath(LocalFileSystemBase.java:120)
	at c.ij.oa.vfs.newvfs.ArchiveFileSystem.findLocalByRootPath(ArchiveFileSystem.java:243)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:1336)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findRoot(PersistentFSImpl.java:58)

Hi @Arshi_Khan,

Thank you for reporting this issue, in which context did it happen? So far I don’t see it related to SonarLint, also I have seen a similar case reported on JetBrains https://youtrack.jetbrains.com/issue/IDEA-304808

I suggest trying the Repair IDE action:
From the main menu, select File | Repair IDE and follow the steps