Unable to update project bindings - SONAR lint and Elcipse oxygen

1,082 views
Skip to first unread message

Varun Singhal

unread,
Mar 23, 2018, 1:38:34 AM3/23/18
to SonarLint
Hello, 

After connecting SONAR lint to SONAR QUBE server, when i try to take updates i receive the followinig error :

Failed to update binding for 1 project, Unable to update binding for

project 'xyz-project'

Unable to move

C:\Users\vsinghal\eclipse-workspace\.sonarlint\work{SONARQUBE server domain}\.sonartmp_7415526389500015248\8960528228988360636

to

C:\Users\vsinghal\eclipse-workspace\.sonarlint\storage{SONARQUBE server domain}\modules\xyz-project


Trace :


java.lang.IllegalStateException: C:\Users\vsinghal\eclipse-workspace\.sonarlint\work\{SONARQUBE server domain name}\.sonartmp_7415526389500015248\8960528228988360636  to C:\Users\vsinghal\eclipse-workspace\.sonarlint\storage\{SONARQUBE server domain name}\modules\xyz-project
    at org.sonarsource.sonarlint.core.client.api.util.FileUtils.moveDir(FileUtils.java:47)
    at org.sonarsource.sonarlint.core.client.api.util.FileUtils.replaceDir(FileUtils.java:153)
    at org.sonarsource.sonarlint.core.container.connected.update.perform.ModuleStorageUpdateExecutor.update(ModuleStorageUpdateExecutor.java:63)
    at org.sonarsource.sonarlint.core.container.connected.ConnectedContainer.updateModule(ConnectedContainer.java:118)
    at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.updateModule(ConnectedSonarLintEngineImpl.java:260)
    at org.sonarlint.eclipse.core.internal.server.Server.updateProjectStorage(Server.java:338)
    at org.sonarlint.eclipse.core.internal.jobs.ServerUpdateJob.run(ServerUpdateJob.java:66)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: java.nio.file.AccessDeniedException: C:\Users\vsinghal\eclipse-workspace\.sonarlint\work\{SONARQUBE server domain name}\.sonartmp_7415526389500015248\8960528228988360636  to C:\Users\vsinghal\eclipse-workspace\.sonarlint\storage\{SONARQUBE server domain name}\modules\xyz-project
    at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
    at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
    at sun.nio.fs.WindowsFileCopy.move(Unknown Source)
    at sun.nio.fs.WindowsFileSystemProvider.move(Unknown Source)
    at java.nio.file.Files.move(Unknown Source)
    at org.sonarsource.sonarlint.core.client.api.util.FileUtils.moveDirPreferAtomic(FileUtils.java:53)
    at org.sonarsource.sonarlint.core.client.api.util.FileUtils.moveDir(FileUtils.java:45)
    ... 7 more
Message has been deleted

Varun Singhal

unread,
Mar 23, 2018, 1:40:14 AM3/23/18
to SonarLint

Julien HENRY

unread,
Mar 23, 2018, 3:59:04 AM3/23/18
to Varun Singhal, SonarLint
Hi Varun,

This is usually caused by some anti-virus software causing a lock on some files of the folder. Can you confirm by temporarily whitelisting the folder (or disabling the anti-virus)?

Regards,

Julien Henry | SonarSource

Developer

https://sonarsource.com


2018-03-23 6:40 GMT+01:00 Varun Singhal <varunsi...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/e4a80cd6-60bb-4c91-bab3-cabc9a999292%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Varun Singhal

unread,
Mar 24, 2018, 9:21:24 AM3/24/18
to SonarLint
Hello Julein,

I will contact my IT department and let you know. Thanks !
Reply all
Reply to author
Forward
0 new messages