One of my modules will not bind

33 views
Skip to first unread message

Paul Borgen

unread,
May 2, 2018, 6:43:55 PM5/2/18
to SonarLint
I have a project with about 10 sonarqube modules. Everything works well in eclipse with the exception of one of my modules. I get the below error when I add this particular module. When I remove this binding everything works great.

 Anyone have any ideas on how I can debug this? Wish there was a log file or something I could look at.

I have the latest version of the sonarlint eclipse 3.5


Error Message:
Unable to update project war-me
Unable to move D:\dev\eclipse-workspace\.sonarlint\work\sonarqube.me.com\.sonartmp_6894348596594062406\3133076686709252981 to D:\dev\eclipse-workspace\.sonarlint\storage\sonarqube.me.com\modules\CNI%3Awar-me

Julien HENRY

unread,
May 3, 2018, 2:50:44 AM5/3/18
to Paul Borgen, SonarLint
Hi Paul,

Anything special about the target directory? Can you check if it already exists? We also had several report where the antivirus was preventing the atomic move to occurs.

++

Julien Henry | SonarSource

Developer

https://sonarsource.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/b433dd2e-fd57-4643-90dc-9a781c0fc43a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Borgen

unread,
May 9, 2018, 5:06:12 PM5/9/18
to SonarLint
I have about 8 other modules that are working just fine. So not sure why this particular one is causing a issue. I am talking with IT to see if they can put a exclusion in for eclipse.exe for Mcafee


On Thursday, May 3, 2018 at 2:50:44 AM UTC-4, Julien HENRY wrote:
Hi Paul,

Anything special about the target directory? Can you check if it already exists? We also had several report where the antivirus was preventing the atomic move to occurs.

++

Julien Henry | SonarSource

Developer

https://sonarsource.com


2018-05-03 0:43 GMT+02:00 Paul Borgen <pbor...@gmail.com>:
I have a project with about 10 sonarqube modules. Everything works well in eclipse with the exception of one of my modules. I get the below error when I add this particular module. When I remove this binding everything works great.

 Anyone have any ideas on how I can debug this? Wish there was a log file or something I could look at.

I have the latest version of the sonarlint eclipse 3.5


Error Message:
Unable to update project war-me
Unable to move D:\dev\eclipse-workspace\.sonarlint\work\sonarqube.me.com\.sonartmp_6894348596594062406\3133076686709252981 to D:\dev\eclipse-workspace\.sonarlint\storage\sonarqube.me.com\modules\CNI%3Awar-me

--
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+...@googlegroups.com.

Paul Borgen

unread,
May 10, 2018, 1:49:15 PM5/10/18
to SonarLint
This is the error message
!ENTRY org.sonarlint.eclipse.core 4 4 2018-05-10 13:47:14.709
!MESSAGE Failed to update binding for 1 project(s)
!SUBENTRY 1 org.sonarlint.eclipse.core 4 0 2018-05-10 13:47:14.722
!MESSAGE Unable to update binding for project 'lib-me'
!STACK 0
java.lang.IllegalStateException: Unable to move D:\dev\eclipse-workspace\.sonarlint\work\sonarqube.me.com\.sonartmp_7252742888262813828\5521885226873794402 to D:\dev\eclipse-workspace\.sonarlint\storage\sonarqube.me.com\modules\CNI%3Alib-me
        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:267)
        at org.sonarlint.eclipse.core.internal.server.Server.updateProjectStorage(Server.java:340)
        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: D:\dev\eclipse-workspace\.sonarlint\work\sonarqube.me.com\.sonartmp_7252742888262813828\5521885226873794402 -> D:\dev\eclipse-workspace\.sonarlint\storage\sonarqube.me.com\modules\CNI%3Alib-me
        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











On Thursday, May 3, 2018 at 2:50:44 AM UTC-4, Julien HENRY wrote:
Hi Paul,

Anything special about the target directory? Can you check if it already exists? We also had several report where the antivirus was preventing the atomic move to occurs.

++

Julien Henry | SonarSource

Developer

https://sonarsource.com


2018-05-03 0:43 GMT+02:00 Paul Borgen <pbor...@gmail.com>:
I have a project with about 10 sonarqube modules. Everything works well in eclipse with the exception of one of my modules. I get the below error when I add this particular module. When I remove this binding everything works great.

 Anyone have any ideas on how I can debug this? Wish there was a log file or something I could look at.

I have the latest version of the sonarlint eclipse 3.5


Error Message:
Unable to update project war-me
Unable to move D:\dev\eclipse-workspace\.sonarlint\work\sonarqube.me.com\.sonartmp_6894348596594062406\3133076686709252981 to D:\dev\eclipse-workspace\.sonarlint\storage\sonarqube.me.com\modules\CNI%3Awar-me

--
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+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages