- Operating system: macOS Sonoma 14.7
- SonarLint plugin version: v4.10.0
- Programming language you’re coding in: Java
- Is connected mode used: no
And a thorough description of the problem / question:
No SonarLint issues were showing up. Neither in editors, nor in the “PROBLEMS” view.
In the SonarLint output, there were entries like “Analysis detected 6 issues and 0 Security Hotspots in 90ms”. So it seemed to work in the backend, but nothing reached the UI. I tried re-installing SonarLint, disable other Lint-related extensions, etc. Nothing helped.
So I kept examining the SonarLint output and there was some exception like “restoring local-only issue database failed: Unknown cipher” or something like that. It pointed to the $HOME/.sonarlint folder. In that folder, there were thousands of .sonarlinttmp_ files and known-findings-store directories.
So I uninstalled the extension, closed VS Code, deleted the $HOME/.sonarlint folder, and installed the SonarLint extension again. Everything works fine again now.
Sorry for not being able to provide details on the error state logs, they’re gone. I just wanted to “put this out there”. The workaround with deleting the folder would have saved me a couple of hours, so I thought it might help others potentially.