【问题标题】:Sonar-web-frontend-helloworld execution errorSonar-web-frontend-helloworld 执行错误
【发布时间】:2016-11-18 14:50:30
【问题描述】:

我正在运行 hello world 示例

我生成报告,但是当我开始运行声纳扫描时,我得到了一个非常无用的异常

-----------
09:42:56.279 ERROR: Error during SonarQube Scanner execution
java.lang.IllegalArgumentException: 0 is not a valid line for a file
        at org.sonar.api.internal.google.common.base.Preconditions.checkArgument
(Preconditions.java:145)

[![Error description][1]][1]

【问题讨论】:

    标签: sonarqube sonar-runner sonarqube-scan


    【解决方案1】:

    似乎是您使用的插件中的一个错误 - https://github.com/groupe-sii/sonar-web-frontend-plugin SonarQube API 明确指出文件中的第一行编号为1,但插件通过0

    【讨论】:

      猜你喜欢
      • 2023-03-21
      • 2014-09-12
      • 2017-10-04
      • 1970-01-01
      • 1970-01-01
      • 2017-03-08
      • 1970-01-01
      • 1970-01-01
      • 2016-01-30
      相关资源
      最近更新 更多