Error in SonarLint for IntelliJ jetbrains.exodus.log.BlockNotFoundException

Environment:

  • Java: JetBrains s.r.o. 17.0.6
  • OS: Linux amd64
  • IDE: PhpStorm 2023.1.2
  • SonarLint: 8.2.0.68615

Periodic task failure

jetbrains.exodus.log.BlockNotFoundException: File not found, address = 137166848, file = 00000004000.xd
	at jetbrains.exodus.log.BlockNotFoundException.raise(BlockNotFoundException.java:28)
	at jetbrains.exodus.log.BlockNotFoundException.raise(BlockNotFoundException.java:32)
	at jetbrains.exodus.log.Log.readBytes(Log.kt:787)
	at jetbrains.exodus.log.LogCache.readBytes(LogCache.kt:115)
	at jetbrains.exodus.log.LogCache.readFullPage(LogCache.kt:96)
	at jetbrains.exodus.log.SharedLogCache.getPage(SharedLogCache.kt:109)
	at jetbrains.exodus.log.DataIterator.checkPage(DataIterator.java:95)
	at jetbrains.exodus.tree.patricia.PatriciaTreeBase.getDataIterator(PatriciaTreeBase.java:69)
	at jetbrains.exodus.tree.patricia.PatriciaTreeBase.getLoggable(PatriciaTreeBase.java:126)
	at jetbrains.exodus.tree.patricia.PatriciaTreeBase.loadNode(PatriciaTreeBase.java:131)
	at jetbrains.exodus.tree.patricia.ChildReference.getNode(ChildReference.java:43)
	at jetbrains.exodus.tree.patricia.PatriciaTraverser.moveDown(PatriciaTraverser.java:71)
	at jetbrains.exodus.tree.TreeCursor.moveToNext(TreeCursor.java:201)
	at jetbrains.exodus.tree.TreeCursor.getNext(TreeCursor.java:68)
	at jetbrains.exodus.env.CursorImpl.getNext(CursorImpl.java:48)
	at jetbrains.exodus.entitystore.CachedBlobLengths.getBlobVaultSize$lambda-1(CachedBlobLengths.kt:36)
	at jetbrains.exodus.env.EnvironmentImpl.computeInReadonlyTransaction(EnvironmentImpl.java:333)

Hi,

Welcome to the community!

Version 8.3.0.71062 was released yesterday. Would you mind upgrading and seeing if this still happens?

 
Thx,
Ann

I have noted the availability of a new version.
Upgrading the plugin did not solve the problem.
I have solved the problem uninstalling and reinstalling the plugin.

1 Like

Hello @caiofior,

Thanks for reporting this. In case other people get the same problem, it looks like the local storage of SonarQube/SonarCloud issues was corrupted.

As this storage is automatically reconstructed by SonarLint, you could close the IDE, remove the storage on disk, and reopen the IDE. The storage is located under the IDE system path, in the sonarlint/storage folder. You could delete this folder entirely