And*_*ius 6 eclipse-plugin sonarqube
我从SonarQube 5.1.2更新到5.2.
在Eclipse中,我使用SonarQube开始使用最新的插件版本进行分析.但是会弹出一个对话框,说有一个NPE.Eclipse错误日志显示:
java.lang.NullPointerException
at org.sonar.ide.eclipse.wsclient.internal.SonarWSClientFacade.getUnresolvedRemoteIssuesRecursively(SonarWSClientFacade.java:170)
at org.sonar.ide.eclipse.core.internal.remote.RemoteSourceCode.getRemoteIssuesRecursively(RemoteSourceCode.java:107)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeAllIssuesJob.doRefreshIssues(SynchronizeAllIssuesJob.java:131)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeAllIssuesJob.fetchRemoteIssues(SynchronizeAllIssuesJob.java:120)
at org.sonar.ide.eclipse.core.internal.jobs.SynchronizeAllIssuesJob.run(SynchronizeAllIssuesJob.java:76)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Run Code Online (Sandbox Code Playgroud)
问题是什么?如何在Eclipse中使用SonarQube 5.2进行分析?
您不能将SonarQube插件与SonarQube 5.2或更高版本一起使用.
不推荐使用SonarQube Eclipse插件
SonarQube Eclipse插件不适用于SonarQube 5.2+.它被SonarLint for Eclipse取代.
请注意,SonarLint for Eclipse 1.x系列尚未涵盖SonarQube Eclipse插件的所有功能,但2.x版本肯定会涵盖这一差距.
| 归档时间: |
|
| 查看次数: |
3069 次 |
| 最近记录: |