SonarQube4.0:问题页面未打开

SonarQube4.0:问题页面未打开,sonarqube,Sonarqube,当我单击SonarQube仪表板中的“问题”选项卡时,我得到错误信息: 很抱歉,出了点问题。 请在几分钟后重试,如果问题仍然存在,请联系支持人员。 返回主页 我使用JDK1.7 Sonar.logs文件给出以下错误堆栈-> 2014.08.26 13:43:06 ERROR o.s.s.ui.JRubyFacade Fail to render: http:// 10.180.5.10:9000/issues/search undefined method `name' for nil:

当我单击SonarQube仪表板中的“问题”选项卡时,我得到错误信息:

很抱歉,出了点问题。 请在几分钟后重试,如果问题仍然存在,请联系支持人员。 返回主页

我使用JDK1.7

Sonar.logs文件给出以下错误堆栈->

2014.08.26 13:43:06 ERROR o.s.s.ui.JRubyFacade  Fail to render: http://    10.180.5.10:9000/issues/search
undefined method `name' for nil:NilClass
    On line #70 of app/views/issues/_list.html.erb

67: <%= h @issues_result.user(issue.assignee).name if issue.assignee -%>
68: </td>
69: <td>
70: <%= h @issues_result.actionPlan(issue).name if issue.actionPlanKey() -%>
71: </td>
72: <td width="1%" nowrap>
73: <%= human_short_date(Api::Utils.java_to_ruby_datetime(issue.updateDate())) -%>

app/views/issues/_list.html.erb:70
file:lib/jruby-complete-1.7.6.jar!/jruby/java/java_ext/java.util.rb:7:in `each'
app/views/issues/_list.html.erb:37
org/jruby/RubyKernel.java:2225:in `send'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:20:in `render'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:30:in `benchmark'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:19:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/template.rb:205:in `render_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:44:in `render_partial'
gems/gems/actionpack-2.3.15/lib/action_view/partials.rb:184:in `render_partial'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:267:in `render'
app/views/issues/_search.html.erb:3
org/jruby/RubyKernel.java:2225:in `send'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:20:in `render'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:30:in `benchmark'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:19:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/template.rb:205:in `render_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:44:in `render_partial'
gems/gems/actionpack-2.3.15/lib/action_view/partials.rb:184:in `render_partial'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:267:in `render'
app/views/issues/search.html.erb:7
org/jruby/RubyKernel.java:2225:in `send'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/template.rb:205:in `render_template'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:265:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:348:in `_render_with_layout'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:262:in `render'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1252:in `render_for_file'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:936:in `render'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1328:in `default_render'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1334:in `perform_action'
gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:617:in `call_filters'
gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'
gems/gems/actionpack-2.3.15/lib/action_controller/flash.rb:151:in `perform_action_with_flash'
org/jruby/RubyKernel.java:2221:in `send'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:532:in `process'
gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:606:in `process_with_filters'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:391:in `process'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:386:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/routing/route_set.rb:438:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:87:in `dispatch'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:121:in `_call'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
org/jruby/RubyProc.java:290:in `call'
org/jruby/RubyProc.java:224:in `call'
gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:29:in `call'
gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:9:in `cache'
gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:28:in `call'
gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/string_coercion.rb:25:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/params_parser.rb:15:in `call'
file:lib/jruby-rack-1.1.13.2.jar!/jruby/rack/session_store.rb:70:in `context'
gems/gems/actionpack-2.3.15/lib/action_controller/failsafe.rb:26:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:106:in `call'
file:lib/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34:in `serve_rails'
file:lib/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39:in `call'
file:lib/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22:in `call'
找到解决办法了。 这个问题在本文中得到了解决,但不知何故,它并没有被翻译成我下载并使用的SonarQube 4.0版本

该修补程序将删除问题表中仍链接有已删除行动计划的行->

更新问题设置行动计划密钥=空,其中行动计划密钥不为空且不存在从行动计划ap中选择*ap其中ap.kee=行动计划密钥

可以检查是否存在任何此类行->

从问题i中选择* 左外连接动作\计划ap在i上。动作\计划\键=ap.kee 其中i.action\u plan\u key不为空,ap.kee为空