Error in SonarLint for IntelliJ using Java 11

Environment:

  • Java version=11.0.9.1
  • Java vendor=JetBrains s.r.o.
  • OS name=Windows 10
  • OS architecture=amd64
  • IDE=IntelliJ IDEA 2020.3.2
  • SonarLint version=4.14.1.27745

*** exception class was changed or removed

org.sonarsource.sonarlint.core.client.api.exceptions.StorageException: Failed to read file: C:\\Users\\jhcue\\AppData\\Roaming\\JetBrains\\IntelliJIdea2020.3\\sonarlint\\storage\\736f6e6172636c6f7564\\projects\\configuration.pb
	at org.sonarsource.sonarlint.core.container.storage.ProtobufUtil.readFile(ProtobufUtil.java:46)
	at org.sonarsource.sonarlint.core.container.storage.StorageReader.readProjectConfig(StorageReader.java:98)
	at org.sonarsource.sonarlint.core.container.storage.IssueStoreReader.getServerIssues(IssueStoreReader.java:47)
	at org.sonarsource.sonarlint.core.container.storage.StorageContainerHandler.getServerIssues(StorageContainerHandler.java:147)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$getServerIssues$12(ConnectedSonarLintEngineImpl.java:233)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:352)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:342)
	at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.getServerIssues(ConnectedSonarLintEngineImpl.java:233)
	at org.sonarlint.intellij.issue.vulnerabilities.TaintVulnerabilitiesLoader.loadServerTaintVulnerabilitiesForFile(TaintVulnerabilitiesLoader.kt:68)
	at org.sonarlint.intellij.issue.vulnerabilities.TaintVulnerabilitiesLoader.getLocalTaintVulnerabilitiesForFile(TaintVulnerabilitiesLoader.kt:51)
	at org.sonarlint.intellij.issue.vulnerabilities.TaintVulnerabilitiesLoader.getTaintVulnerabilitiesByOpenedFiles(TaintVulnerabilitiesLoader.kt:45)
	at org.sonarlint.intellij.issue.vulnerabilities.TaintVulnerabilitiesPresenter$presentTaintVulnerabilitiesForOpenFiles$1.run(TaintVulnerabilitiesPresenter.kt:95)
	at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:962)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:472)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)

Hello,

Welcome to the community and thanks for reporting this issue.

Your binding is probably invalid, and you should check your connection and binding settings. This shouldn’t lead to an error though, so I created the following ticket. We should release the fix in the coming days.

Thanks again
Damien

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.