"Failed to recover to valid" root error

Hi there!

  • Operating system: MacOS Sequoia 15.5
  • SonarQube for IntelliJ plugin version: 11.4.0.82618
  • IntelliJ version: 2025.1.7
  • Programming language you’re coding in: Java
  • Is connected mode used: SonarQube Cloud

I’m facing the same error as in:

On one of my projects (it’s working on others), the SonarQube IDE plugin starts but then hangs with this stack trace:

 [2025-11-05T14:49:05.522] [SonarLint Local Storage Synchronizer] ERROR jetbrains.exodus.env.EnvironmentImpl - Failed to recover to valid root, address = 16784732, file = 00000000g00.xd
jetbrains.exodus.log.DataCorruptionException: DataIterator: no more bytes available, address = -1, file = 00000000000.xd
	at jetbrains.exodus.log.DataCorruptionException.raise(DataCorruptionException.java:33)
	at jetbrains.exodus.log.DataIterator.next(DataIterator.java:61)
	at jetbrains.exodus.log.Log.readNotNull(Log.kt:481)
	at jetbrains.exodus.tree.btree.BTreeBase.getLoggable(BTreeBase.java:123)
	at jetbrains.exodus.tree.btree.BTreeBase.loadLeaf(BTreeBase.java:156)
	at jetbrains.exodus.tree.btree.BasePageMutable.getKey(BasePageMutable.java:158)
	at jetbrains.exodus.tree.btree.InternalPageMutable.getKey(InternalPageMutable.java:29)
	at jetbrains.exodus.tree.btree.BasePageMutable.binarySearch(BasePageMutable.java:264)

 [2025-11-05T14:49:05.613] [SonarLint Local Storage Synchronizer] ERROR sonarlint - Error during synchronization
jetbrains.exodus.crypto.InvalidCipherParametersException: Database is ciphered with different/unknown cipher parameters
	at jetbrains.exodus.env.MetaTreeImpl.create(MetaTreeImpl.java:92)
	at jetbrains.exodus.env.EnvironmentImpl.<init>(EnvironmentImpl.java:131)
	at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
	at jetbrains.exodus.env.Environments$newInstance$4.invoke(Environments.kt:46)
	at jetbrains.exodus.env.Environments.prepare(Environments.kt:120)
	at jetbrains.exodus.env.Environments.newInstance(Environments.kt:46)
	at org.sonarsource.sonarlint.core.serverconnection.storage.XodusServerIssueStore.buildEntityStore(XodusServerIssueStore.java:196)
	at org.sonarsource.sonarlint.core.serverconnection.storage.XodusServerIssueStore.<init>(XodusServerIssueStore.java:182)

As found on other topics, I tried to remove everything in `~/.sonarlint` and `~/.sonar` folders => these are now empty but it doesn’t solve the problem… Plugin keeps on working correctly on other projects but fails on my main one.

Moreover it seems that these folders remain empty. Is there another location to clean-up to allow the plugin to resync correctly?

Thanks for your help,

Hi,

Welcome to the community and thanks for this report!

Could we get a verbose log from IDE startup to the error?

 
Thx,
Ann

1 Like

Hi Ann,

Thanks for the reply and the verbose log trick! When enabling it, I saw that that xodus storage was actually in my ~/Library/Caches/JetBrains/IdeaIC2025.1/sonarlint/storage directoy! I just removed this file, restart everything, wait for initial sync and then it works!

Thank you!

3 Likes

Hello @lbroudoux , thanks for reaching out. I’m glad to hear your issue has been resolved!

Apologies for the delayed response. You’re correct, some project-related files are indeed stored under the System directory of your IntelliJ.

We’re also actively working on transitioning away from our current Xodus storage system to a new solution that should greatly reduce these kinds of issues. This change will be rolled out in the coming weeks and should improve the overall experience.

Lastly, if you’re enjoying SonarQube for IDE, feel free to leave a review on our Marketplace page, your feedback means a lot to us!

1 Like