在使用声纳eclipse插件进行分析时,Eclipse正在显示syhnchronization问题

时间:2014-01-12 11:28:51

标签: eclipse-plugin sonarqube sonar-runner

我用声纳跑步者分析了一个项目.Below是我的sonar-project.properties内容

# Required metadata
sonar.projectKey=sonar-runner
sonar.projectName=xyz
sonar.projectVersion=2.0.1

# Comma-separated paths to directories with sources (required)
sonar.sources=/home/xyz/abc

# Language
sonar.language=java

# Encoding of the source files
sonar.sourceEncoding=UTF-8

现在我已经安装了声纳eclipse插件并关联了eclipse中分析的项目。然而,Sonar eclipse插件显示以下错误

Error during issue query org.sonar.wsclient.issue.IssueQuery@7ba66ed0
Error during issue query org.sonar.wsclient.issue.IssueQuery@7ba66ed0

我到底错过了什么?

以下更新是eclipse记录的错误

org.sonar.ide.eclipse.wsclient.SonarWSClientException: Error during issue query org.sonar.wsclient.issue.IssueQuery@55b82685
    at org.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.findIssues(SonarWSClientFacade.java:194)
    at org.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.getRemoteIssuesRecursively(SonarWSClientFacade.java:170)
    at org.sonar.ide.eclipse.core.internal.remote.RemoteSourceCode.getRemoteIssuesRecursively(RemoteSourceCode.java:122)
    at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeAllIssuesJob.doRefreshIssues(SynchronizeAllIssuesJob.java:136)
    at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeAllIssuesJob.fetchRemoteIssues(SynchronizeAllIssuesJob.java:125)
    at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeAllIssuesJob.run(SynchronizeAllIssuesJob.java:79)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.sonar.wsclient.base.HttpException: Error 404 on http://10.13.212.2:9000/api/issues/search?pageSize=-1&componentRoots=:esewa-kernel&pageIndex=1
    at org.sonar.wsclient.internal.HttpRequestFactory.execute(HttpRequestFactory.java:135)
    at org.sonar.wsclient.internal.HttpRequestFactory.get(HttpRequestFactory.java:121)
    at org.sonar.wsclient.issue.internal.DefaultIssueClient.find(DefaultIssueClient.java:48)
    at org.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.findIssues(SonarWSClientFacade.java:190)
    ... 6 more

0 个答案:

没有答案