Error in SonarLint for IntelliJ 10/02/2022

Environment:

  • Java: JetBrains s.r.o. 11.0.12
  • OS: Linux amd64
  • IDE: CLion 2021.2.3
  • SonarLint: 6.3.1.40498

Running unit tests

java.lang.RuntimeException: java.io.EOFException
	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.writeAndHandleErrors(FSRecords.java:276)
	at c.ij.oa.vfs.newvfs.persistent.FSRecords$2.close(FSRecords.java:678)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.writeFlagsToCache(FileTypeDetectionService.java:343)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.cacheAutoDetectedFileType(FileTypeDetectionService.java:364)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.detectFromContentAndCache(FileTypeDetectionService.java:511)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.getOrDetectFromContent(FileTypeDetectionService.java:254)
	at c.ij.oa.fileTypes.impl.FileTypeManagerImpl.getFileTypeByFile(FileTypeManagerImpl.java:685)
	at c.ij.oa.fileTypes.impl.FileTypeManagerImpl.getFileTypeByFile(FileTypeManagerImpl.java:666)
	at c.ij.oa.vfs.VirtualFile.getFileType(VirtualFile.java:354)
	at c.ij.oa.vfs.newvfs.impl.VirtualFileSystemEntry.getFileType(VirtualFileSystemEntry.java:578)
	at o.sl.ij.fs.VirtualFileSystemListener.fileEventsByModules(VirtualFileSystemListener.kt:97)
	at o.sl.ij.fs.VirtualFileSystemListener.forwardEvents(VirtualFileSystemListener.kt:77)
	at o.sl.ij.fs.VirtualFileSystemListener.before(VirtualFileSystemListener.kt:55)

Hello @retrogamer,

It seems there is a problem with a cache used by IntelliJ, it’s not directly caused by SonarLint. Could you try to do File > Invalidate Caches… and restart the IDE ?