Hello,
For our project, we use SonarQube 6.7 and since we went through Eclipse 2019-09 with the sonarlint 4.2 plugin, we have an error while updating the projects binding:
Unable to update SonarLint binding data for project ‘gda:trunk’ on ‘sonar.ipazh.fr’
Unable to move C:\KitDevGDA\workspace.sonarlint\work\sonar.ipazh.fr.sonartmp_5218269273439832674\2690657720642648316
to C:\KitDevGDA\workspace.sonarlint\storage\736f6e61722e6970617a682e6672\projects\6764613a7472756e6b’‘’
We are working on windows 10, and Eclipse is launched with either an 8 or 11 jdk.
In the eclipse log file, the detailed error is:
! ENTRY org.sonarlint.eclipse.core 4 0 2019-10-05 11: 58: 13.550
! MESSAGE Unable to update SonarLint binding data for project ‘gda: trunk’ on ‘sonar.ipazh.fr’
! STACK 0
java.lang.IllegalStateException: Unable to move C: \ KitDevGDA \ workspace \ .sonarlint \ work \ sonar.ipazh.com \ .sonartmp_5218269273439832674 \ 2690657720642648316 to C: \ KitDevGDA \ workspace \ .sonarlint \ storage \ 736f6e61722e6970617a682e6672 \ projects \ 6764613a7472756e6b
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.moveDir (FileUtils.java:74)
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.replaceDir (FileUtils.java:236)
at org.sonarsource.sonarlint.core.container.connected.update.perform.ProjectStorageUpdateExecutor.update (ProjectStorageUpdateExecutor.java:67)
at org.sonarsource.sonarlint.core.container.connected.ConnectedContainer.updateProject (ConnectedContainer.java:123)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.updateProject (ConnectedSonarLintEngineImpl.java:266)
at org.sonarlint.eclipse.core.internal.server.Server.updateProjectStorage (Server.java:417)
at org.sonarlint.eclipse.core.internal.jobs.ProjectStorageUpdateJob.lambda $ 0 (ProjectStorageUpdateJob.java:45)
at java.base / java.util.Optional.ifPresent (Optional.java:183)
at org.sonarlint.eclipse.core.internal.jobs.ProjectStorageUpdateJob.run (ProjectStorageUpdateJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run (Worker.java:63)
Caused by: java.nio.file.AccessDeniedException: C: \ KitDevGDA \ workspace \ .sonarlint \ work \ sonar.ipazh.com \ .sonartmp_5218269273439832674 \ 2690657720642648316 → C: \ KitDevGDA \ workspace \ .sonarlint \ storage \ 736f6e61722e6970617a682e6672 \ projects \ 6764613a7472756e6b
at java.base / sun.nio.fs.WindowsException.translateToIOException (WindowsException.java:89)
at java.base / sun.nio.fs.WindowsException.rethrowAsIOException (WindowsException.java:103)
at java.base / sun.nio.fs.WindowsFileCopy.move (WindowsFileCopy.java:309)
at java.base / sun.nio.fs.WindowsFileSystemProvider.move (WindowsFileSystemProvider.java:288)
at java.base / java.nio.file.Files.move (Files.java:1421)
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.lambda $ moveDirPreferAtomic $ 0 (FileUtils.java:80)
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.retry (FileUtils.java:265)
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.retry (FileUtils.java:269)
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.moveDirPreferAtomic (FileUtils.java:80)
at org.sonarsource.sonarlint.core.client.api.util.FileUtils.moveDir (FileUtils.java:72)
… 9 more
We did not have the problem before moving into this new version of the plugin and eclipse. Before we used Eclipse 2019-06 and sonarlint 4.1.
I completely removed the binding, empty the .sonarlint directory, and redo the binding and I still have the same error message.
I looked at the logs of the antivirus, but I do not see anything indicating any blockage.
Do you have any idea of the problem?
Thank You.