Error in SonarLint for IntelliJ IDEA 2022.3.1 (Ultimate Edition) - 2023-01-19

Environment:

  • Java: JetBrains s.r.o. 17.0.5
  • OS: Windows 10 amd64
  • IDE: IntelliJ IDEA 2022.3.1
  • SonarLint: 7.1.1.54565
o.ss.sl.core.serverconnection.storage.StorageException: Failed to read file: C:\Users\beurtheret\AppData\Local\JetBrains\IntelliJIdea2022.3\sonarlint\storage\44656661756c74\projects\636f6d2e6a636465636175782e6672636c2e706f642e617069\project_branches.pb
	at o.ss.sl.core.serverconnection.storage.ProtobufUtil.readFile(ProtobufUtil.java:42)
	at o.ss.sl.core.serverconnection.storage.ProjectStorage.lambda$getProjectBranches$3(ProjectStorage.java:73)
	at o.ss.sl.core.serverconnection.storage.RWLock.read(RWLock.java:32)
	at o.ss.sl.core.serverconnection.storage.ProjectStorage.getProjectBranches(ProjectStorage.java:73)
	at o.ss.sl.core.serverconnection.ServerConnection.getProjectBranches(ServerConnection.java:117)
	at o.ss.sl.core.ConnectedSonarLintEngineImpl.getServerBranches(ConnectedSonarLintEngineImpl.java:363)
	at o.sl.ij.vcs.DefaultVcsService.resolveServerBranchName(DefaultVcsService.kt:65)
	at o.sl.ij.vcs.DefaultVcsService.getServerBranchName(DefaultVcsService.kt:53)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesLoader.loadServerTaintVulnerabilitiesForFile(TaintVulnerabilitiesLoader.kt:62)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesLoader.getLocalTaintVulnerabilitiesForFile(TaintVulnerabilitiesLoader.kt:50)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesLoader.getTaintVulnerabilitiesByOpenedFiles(TaintVulnerabilitiesLoader.kt:44)
	at o.sl.ij.issue.vulnerabilities.TaintVulnerabilitiesPresenter$presentTaintVulnerabilitiesForOpenFiles$1.run(TaintVulnerabilitiesPresenter.kt:104)

Hi @cbeurtheret-jcd

Can you try updating to the latest version of SonarLint (7.3 as of today, 7.4 should be released next week)? This issue has normally already been solved.

Thanks