Hi ,
We want to use the SonarLint Eclipse plug to perform SAP ABAP code analysis for SAP onPremise system. As mentioned in the document , we installed the pluging in Eclipse. Post that we have created a binding for connected mode to work. Unfortunately “rules configuration” doesn’t show ABAP rules and eveytime Synchronization error is received.
In SonarQube, we have a project created. There is no link or use of Github in the whole process.
Please provide some guidance / documentation which we could refer for resolution.
Downloaded plugin list in 415ms
[SYNC] Synchronizing analyzer configuration for project 'ABAPPOCProject2'
Downloaded settings in 322ms
[SYNC] Active rules for 'abap' are up-to-date
[SYNC] Active rules for 'apex' are up-to-date
[SYNC] Active rules for 'cobol' are up-to-date
[SYNC] Active rules for 'css' are up-to-date
[SYNC] Active rules for 'java' are up-to-date
[SYNC] Active rules for 'jcl' are up-to-date
[SYNC] Active rules for 'js' are up-to-date
[SYNC] Active rules for 'jsp' are up-to-date
[SYNC] Active rules for 'kotlin' are up-to-date
[SYNC] Active rules for 'php' are up-to-date
[SYNC] Active rules for 'pli' are up-to-date
[SYNC] Active rules for 'plsql' are up-to-date
[SYNC] Active rules for 'py' are up-to-date
[SYNC] Active rules for 'rpg' are up-to-date
[SYNC] Active rules for 'ruby' are up-to-date
[SYNC] Active rules for 'scala' are up-to-date
[SYNC] Active rules for 'secrets' are up-to-date
[SYNC] Active rules for 'ts' are up-to-date
[SYNC] Active rules for 'tsql' are up-to-date
[SYNC] Active rules for 'web' are up-to-date
[SYNC] Active rules for 'xml' are up-to-date
Error while fetching new code definition
java.lang.IllegalStateException: Insufficient privileges
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.handleError(ServerApiHelper.java:145)
at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.get(ServerApiHelper.java:74)
at org.sonarsource.sonarlint.core.serverapi.newcode.NewCodeApi.getNewCodeDefinition(NewCodeApi.java:59)
at org.sonarsource.sonarlint.core.serverconnection.LocalStorageSynchronizer.synchronizeAnalyzerConfig(LocalStorageSynchronizer.java:86)
at org.sonarsource.sonarlint.core.serverconnection.ServerConnection.sync(ServerConnection.java:61)
at org.sonarsource.sonarlint.core.sync.SynchronizationService.lambda$synchronizeConnectionAndProjectsIfNeededSync$16(SynchronizationService.java:319)
at java.base/java.util.HashMap.forEach(HashMap.java:1421)
at org.sonarsource.sonarlint.core.sync.SynchronizationService.synchronizeConnectionAndProjectsIfNeededSync(SynchronizationService.java:316)
at org.sonarsource.sonarlint.core.sync.SynchronizationService.lambda$synchronizeConnectionAndProjectsIfNeededAsync$12(SynchronizationService.java:292)
at java.base/java.util.Optional.ifPresent(Optional.java:178)
at org.sonarsource.sonarlint.core.sync.SynchronizationService.lambda$synchronizeConnectionAndProjectsIfNeededAsync$13(SynchronizationService.java:292)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Synchronizing project branches for project 'ABAPPOCProject2'
[SYNC] Synchronizing issues for project 'ABAPPOCProject2' on branch 'main'
Error running task 'Synchronizing projects...'