Failed to read file: \.sonarlint\storage\projects\x\configuration.pb

  • versions used

    • Sonarqube - Enterprise Edition -Version 7.9.1 (build 27448)
    • Sonarlint - 4.3.0
  • Error observed:
    Error during execution of SonarLint analysis org.sonarsource.sonarlint.core.client.api.exceptions.StorageException: Failed to read file: E:\Workspace\Proj1.11\.sonarlint\storage\66736f667364736f6e6172\projects\61646f703a465344\configuration.pb at org.sonarsource.sonarlint.core.container.storage.ProtobufUtil.readFile(ProtobufUtil.java:46)

=> Note: The folder β€œβ€¦\projects\61646f703a465344” does not exists.

  • To recreate - create new binding or update binding
  • Tried to delete (workspace/.sonarlint and c:/users/<>/.sonarlint), used new eclipse but nothing helps

Also before that, this error is first encountered:
EclipeseLog.txt (4.0 KB)

Any input is very much appreciated. Thank You.

Hi,

Thanks for reporting this issue. I will try to reproduce, but from I have seen, this is caused by a permission issue. The user/password or token you are using to connect to SonarQube is probably not allowed to access the project you are trying to bind to.

1 Like

I did manage to reproduce with the same stacktrace.

The difference is that the popup is pretty clear about the fact this is a permission issue:
image

What is your version of Eclipse?

Hi Henry, thanks for your response. it’s eclipse β€œ201912”.

Hi Lea,

Did you manage to fix the permission issue?

Hi Henry,

Yes, it was fixed after fixing the permission. Thank you so much… :slight_smile:

Thanks for the feedback!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.