【问题标题】:SonarLint: Unable to update data from serverSonarLint:无法从服务器更新数据
【发布时间】:2016-04-25 13:19:32
【问题描述】:

当我添加一个新的 sonar lint 服务器时,我在 eclipse mars2 中收到以下错误。

Unable to update data from server 'sonar'
Unable to write protocol buffer data to file C:\Users\gopinathan.m\workspace\ws_mars2_cba\.sonarlint\work\sonar\.sonartmp_7090866391184130944\8635181712377045126\active_rules\DEFAULT - Sonar 4.5 way w\ upgraded rules.pb

环境细节: Java:jdk1.7_0_79

操作系统:Windows 64 位

Eclipse 版本:Mars.2 版本 (4.5.2)

插件:用于 Eclipse 2.0.1.20160415-1351-RELEASE 的 SonarLint

【问题讨论】:

  • 声纳服务器版本:5.3

标签: eclipse-mars sonarlint sonarlint-eclipse


【解决方案1】:

在 Windows 上存在一个错误,其中一些质量配置文件的名称会导致在磁盘中写入配置时出现问题:

https://jira.sonarsource.com/browse/SLE-56

虽然未修复,但请尝试将质量配置文件重命名为“DEFAULT - Sonar 4.5 way w\升级规则”。这里有问题的字符可能是'\'。

【讨论】:

  • 感谢您的回复。在某些 Windows 机器上,这个插件可以工作。
猜你喜欢
  • 2016-10-14
  • 2016-10-10
  • 1970-01-01
  • 2016-10-10
  • 1970-01-01
  • 2021-05-14
  • 1970-01-01
  • 2021-03-07
  • 1970-01-01
相关资源
最近更新 更多