Error "Determining Tab Size" in SonarLint for IntelliJ

Environment:

  • Java: JetBrains s.r.o. 11.0.12
  • OS: Mac OS X x86_64
  • IDE: PyCharm 2021.2.2
  • SonarLint: 5.3.0.36775

Error determining tab size

java.lang.RuntimeException: c.ij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /Users/mcfate/Library/Caches/JetBrains/PyCharm2021.2/caches/names.dat
	at c.ij.util.ExceptionUtil.rethrow(ExceptionUtil.java:132)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSConnection.handleError(PersistentFSConnection.java:291)
	at c.ij.oa.vfs.newvfs.persistent.FSRecords.handleError(FSRecords.java:717)
	at c.ij.oa.vfs.newvfs.persistent.FSRecords.readAndHandleErrors(FSRecords.java:251)
	at c.ij.oa.vfs.newvfs.persistent.FSRecords.getNameId(FSRecords.java:499)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findExistingChildInfo(PersistentFSImpl.java:444)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.lambda$findChildInfo$4(PersistentFSImpl.java:395)
	at c.ij.oa.vfs.newvfs.persistent.FSRecords.update(FSRecords.java:302)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:432)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:150)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:132)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:78)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:537)
	at c.ij.oa.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:45)
	at c.ij.oa.vfs.newvfs.VfsImplUtil.findFileByPath(VfsImplUtil.java:56)

Hello @mcfate and welcome to the community!

Looks like mentioned file /Users/mcfate/Library/Caches/JetBrains/PyCharm2021.2/caches/names.dat is corrupted. I suggest to clean the PyCharm caches and see if issue will come again.
If it will - would be great to know how it happens. Ideally - describe steps to reproduce this issue.
Have a good day!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.