java - Sonar - ArrayIndexOutOfBoundsException : 30344

标签 java sonarqube sonar-runner

<分区>

我在尝试使用 Sonar Server 分析项目时遇到此错误:

INFO: EXECUTION FAILURE

INFO: Total time: 50.063s Final Memory: 13M/164M

ERROR: Error during Sonar runner execution

ERROR: Unable to execute Sonar

ERROR: Caused by: Can not execute Findbugs

ERROR: Caused by: java.lang.ArrayIndexOutOfBoundsException: 30344

ERROR: Caused by: 30344

我们之前使用的是默认规则,一切正常。我们改成其他规则,就出现了这个错误。这很奇怪,因为他们在其他 PC 上工作时具有如下所述的相同设置:

Sonar-runner 版本:2.4

Sonarqube 版本:4.5.1

Finbugs 版本:2.4

First part of the Stack Trace

最佳答案

升级到最新的 Findbugs SonarQube 插件 3.1。这为我解决了这个问题。请告诉我们。

  1. 以管理员身份登录
  2. 在顶部菜单的“设置”下
  3. 点击左侧导航中的“更新中心”
  4. 现在在内容 Pane 选项卡的“插件更新”下
  5. ...

但大多数情况下,我无法将视线从屏幕截图的右侧移开。一些非常出色的递归正在进行。谢谢。

关于java - Sonar - ArrayIndexOutOfBoundsException : 30344,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27925947/

相关文章:

java - Trim() 不适用于从控制台输入的字符串

java - 这个实现是组合还是聚合?

c# - 必须设置属性 "sonar.cs.fxcop.assembly"并且项目必须已经构建

sonarqube - 将 Sonar MSBuild Runner 与/p :IsPackaging=True 一起使用

sonarqube - 是否可以从命令行告诉 Sonar 项目名称?

java - Maven 复制依赖项不起作用

java - 问题子类化 JTextField : initial text value is not displayed

msbuild - SonarQube MSBuild 集成失败 : SonarQube was unable to collect the required information about your projects

java - Sonarqube 不分析父类(super class) equals 并可能对 NPE 产生误报

javascript - Sonar 可以从我的 git 存储库中提取代码并定期分析吗?