SonarQube生成结束时的HTTP 500/NullPointerException下载检索问题

SonarQube生成结束时的HTTP 500/NullPointerException下载检索问题,sonarqube,sonarqube5.1,Sonarqube,Sonarqube5.1,在Jenkins构建中,以下是我们拥有的堆栈: [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project gwt-parent: Fail to execute request [code=500, url=http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent

在Jenkins构建中,以下是我们拥有的堆栈:

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project gwt-parent: Fail to execute request [code=500, url=http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent]: Fail to download [http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent]. Response code: 500 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project gwt-parent: Fail to execute request [code=500, url=http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent]
   [snip]
   ... 19 more
Caused by: java.lang.IllegalStateException: Fail to execute request [code=500, url=http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent]
    at org.sonar.batch.bootstrap.ServerClient.handleHttpException(ServerClient.java:139)
    at org.sonar.batch.repository.DefaultServerIssuesLoader.load(DefaultServerIssuesLoader.java:49)
  [snip]
    ... 22 more
Caused by: org.sonar.api.utils.HttpDownloader$HttpException: Fail to download [http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent]. Response code: 500
    at org.sonar.api.utils.HttpDownloader$BaseHttpDownloader$HttpInputSupplier.getInput(HttpDownloader.java:305)
  [snip]
在服务器上

2015.08.31 12:56:55 ERROR web[o.s.s.w.WebServiceEngine] Fail to process request http://forge.mipih.net/sonar/batch/issues?key=fr.pgih.socle%3Agwt-parent
java.lang.NullPointerException: null
        at org.sonar.batch.protocol.input.BatchInput$ServerIssue$Builder.setModuleKey(BatchInput.java:1451) ~[sonar-batch-protocol-5.1.1.jar:na]
        at org.sonar.server.batch.IssuesAction.handleIssue(IssuesAction.java:96) ~[sonar-server-5.1.1.jar:na]
        at org.sonar.server.batch.IssuesAction.handle(IssuesAction.java:87) ~[sonar-server-5.1.1.jar:na]
        at org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:84) ~[sonar-server-5.1.1.jar:na]
        at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source) ~[na:na]
        [snip]
但事实上,这个URL可以从我的浏览器访问。这里是它的服务:

{"errors":[{"msg":""}]}
你知道它可能来自哪里吗

以防万一,仅供参考,SonarQube 5.1.1正在运行官方SonarQube和mysql图像

我已经从5.1.2中抓取了变更日志,但没有发现明显相关的问题。这是一个已知的问题吗


非常感谢您的帮助。

看起来您面临的问题与报告中的相同,至少是完全相同的stacktrace,自5.1以来已修复

唯一可能发生此错误的情况是,您正在运行的Jenkins作业正在尝试分析已删除的模块。 由于分析一个模块有点奇怪,您可能正在分析一个曾经是项目的模块。
修复方法是更新Jenkins作业以分析新项目。

看起来您面临的问题与报告的问题相同,至少是完全相同的stacktrace,自5.1以来已修复

唯一可能发生此错误的情况是,您正在运行的Jenkins作业正在尝试分析已删除的模块。 由于分析一个模块有点奇怪,您可能正在分析一个曾经是项目的模块。
修复方法是更新您的Jenkins工作,以分析新项目。

谢谢,但我不确定我是否了解要点。如上所述,我已经运行了5.1.1,但仍然存在这个问题。因此,我想这是你的答案的剩余部分,可能与此相关?谢谢你,你能检查fr.pgih.socle:gwt parent是一个项目而不是一个模块吗?你能检查一下你能在SonarQube仪表板上看到它吗?谢谢,谢谢,但我不知道我是否明白。如上所述,我已经运行了5.1.1,但仍然存在这个问题。因此,我想这是你的答案的剩余部分,可能与此相关?谢谢你,你能检查fr.pgih.socle:gwt parent是一个项目而不是一个模块吗?你能检查一下你能在SonarQube仪表板上看到它吗?谢谢