If your question is about SonarLint in the IntelliJ Platform, VS Code, Visual Studio, or Eclipse, please post it in that sub-category.
Otherwise, please provide:
- Windows 10 Pro 19044.2251
- Eclipse/STM32Cube IDE 1.10.0
*SonarLint 7.5
*SonarQube developer edition 9.7.0.61563
And a thorough description of the problem / question:
Hello
I am currently trying to use SonarLint to analyze c code. Installing the plugin and creating the binding works, but when I start analyzing I get the following error:
Unable to synchronize local storage for connection '10.10.174.42'
java.lang.IllegalStateException: Insufficient privileges
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.handleError(ServerApiHelper.java:125)
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.get(ServerApiHelper.java:70)
at org.sonarsource.sonarlint.core.serverapi.issue.IssueApi.lambda$pullIssues$6(IssueApi.java:180)
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.processTimed(ServerApiHelper.java:225)
at org.sonarsource.sonarlint.core.serverapi.issue.IssueApi.pullIssues(IssueApi.java:179)
at org.sonarsource.sonarlint.core.serverconnection.IssueDownloader.downloadFromPull(IssueDownloader.java:88)
at org.sonarsource.sonarlint.core.serverconnection.ServerIssueUpdater.sync(ServerIssueUpdater.java:58)
at org.sonarsource.sonarlint.core.serverconnection.ServerConnection.syncServerIssuesForProject(ServerConnection.java:195)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.syncServerIssues(ConnectedSonarLintEngineImpl.java:444)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.lambda$40(ConnectedEngineFacade.java:642)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.syncProjectIssuesForCurrentBranch(ConnectedEngineFacade.java:641)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.lambda$39(ConnectedEngineFacade.java:628)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.doWithEngine(ConnectedEngineFacade.java:208)
at org.sonarlint.eclipse.core.internal.engine.connected.ConnectedEngineFacade.autoSync(ConnectedEngineFacade.java:626)
at org.sonarlint.eclipse.ui.internal.job.PeriodicStoragesSynchronizerJob.run(PeriodicStoragesSynchronizerJob.java:60)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
SonarQube works properly on the server side.