Hi,
This is the same issue of Failed to read file: \.sonarlint\storage\projects\x\configuration.pb .
We thought that issue was fixed already after fixing the permission issue in SonarQube server. However, my colleague cleaned up his workspace and use new/fresh eclipse and did encounter the issue again… I checked that permission in Server is still setup correctly. Any other thoughts? Thank You.
- versions used
- Sonarqube - Enterprise Edition -Version 7.9.1 (build 27448)
- Sonarlint - 4.3.0
=> Note: The folder “…\projects\61646f703a465344” does not exists.
- Error observed:
Error during execution of SonarLint analysis
org.sonarsource.sonarlint.core.client.api.exceptions.StorageException: Failed to read file: E:\Workspace\FSD111\.sonarlint\storage\66736f667364736f6e6172\projects\61646f703a465344\configuration.pb
at org.sonarsource.sonarlint.core.container.storage.ProtobufUtil.readFile(ProtobufUtil.java:46)
at org.sonarsource.sonarlint.core.container.storage.StorageReader.readProjectConfig(StorageReader.java:98)
at org.sonarsource.sonarlint.core.container.storage.StorageFileExclusions.getExcludedFiles(StorageFileExclusions.java:47)
at org.sonarsource.sonarlint.core.container.storage.StorageContainerHandler.getExcludedFiles(StorageContainerHandler.java:109)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.lambda$getExcludedFiles$12(ConnectedSonarLintEngineImpl.java:231)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:344)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.withReadLock(ConnectedSonarLintEngineImpl.java:334)
at org.sonarsource.sonarlint.core.ConnectedSonarLintEngineImpl.getExcludedFiles(ConnectedSonarLintEngineImpl.java:231)
at org.sonarlint.eclipse.core.internal.server.Server.getServerFileExclusions(Server.java:541)
at org.sonarlint.eclipse.core.internal.utils.FileExclusionsChecker.lambda$2(FileExclusionsChecker.java:72)
at java.util.Optional.ifPresent(Unknown Source)