Error in SonarLint for IntelliJ (08/02/2024)

Environment:

  • Java: JetBrains s.r.o. 17.0.9
  • OS: Windows 11 amd64
  • IDE: PhpStorm 2023.3.3
  • SonarLint: 10.2.1.77304
java.lang.AssertionError: record(1369928).fileId(91164) != backref fileId(-1), AttributesRecord[dedicated][0..0, length: 0][backRefFileId: -1, dedicatedAttributeId: -1]
	at c.ij.oa.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.lambda$readAttributeValue$6(AttributesStorageOverBlobStorage.java:997)
	at c.ij.oa.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageOverMMappedFile.readRecord(StreamlinedBlobStorageOverMMappedFile.java:219)
	at c.ij.oa.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageHelper.readRecord(StreamlinedBlobStorageHelper.java:216)
	at c.ij.oa.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.readAttributeValue(AttributesStorageOverBlobStorage.java:995)
	at c.ij.oa.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.readAttribute(AttributesStorageOverBlobStorage.java:100)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSAttributeAccessor.readAttribute(PersistentFSAttributeAccessor.java:34)
	at c.ij.oa.vfs.newvfs.persistent.FSRecordsImpl.readAttribute(FSRecordsImpl.java:1185)
	at c.ij.oa.vfs.newvfs.persistent.FSRecordsImpl.readAttributeWithLock(FSRecordsImpl.java:1175)
	at c.ij.oa.vfs.newvfs.persistent.PersistentFSImpl.readAttribute(PersistentFSImpl.java:425)
	at c.ij.oa.vfs.newvfs.FileAttribute.readFileAttribute(FileAttribute.java:72)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.readFlagsFromCache(FileTypeDetectionService.java:332)
	at c.ij.oa.fileTypes.impl.FileTypeDetectionService.getOrDetectFromContent(FileTypeDetectionService.java:218)

Hi,

Welcome to the community!

The latest version of SonarLint is 10.3.0.77475. Could you upgrade and see if this is still replicable?

And if so, could you provide the context where this happens? And finally, I suspect the stacktrace is clipped here. If I’m correct, could you provide the whole thing, please?

 
Thx,
Ann