Sonarqube 无法使用备份恢复配置

Sonarqube 无法使用备份恢复配置,sonarqube,Sonarqube,我已经安装了sonar的测试服务器(与产品版本、插件、操作系统等相同),以测试sonar的一些升级。 我使用备份/恢复功能 除了在测试服务器上出现错误的质量配置文件外,其他一切都正常工作 还原备份文件时的日志: 尝试访问企业质量档案(SIHM-xxxxx)时出现的错误: 错误o.s.s.ui.JRubyFacade无法呈现:http://xxxxx:9000/rules_configuration/index/10020 nil:NilClass的未定义方法'strip' app/views/r

我已经安装了sonar的测试服务器(与产品版本、插件、操作系统等相同),以测试sonar的一些升级。 我使用备份/恢复功能

除了在测试服务器上出现错误的质量配置文件外,其他一切都正常工作

还原备份文件时的日志: 尝试访问企业质量档案(SIHM-xxxxx)时出现的错误:
错误o.s.s.ui.JRubyFacade无法呈现:http://xxxxx:9000/rules_configuration/index/10020
nil:NilClass的未定义方法'strip'
app/views/rules_configuration/_rule_note.html.erb的第11行
8: %>
9: 
10: 
11: 
12: 
13: 
14:

app/views/rules\u configuration/\u rule\u note.html.erb:11 org/jruby/RubyKernel.java:2109:in'send' gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/base.rb:306:in'with\u template' gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/renderable\u partial.rb:20:in'render' gems/gems/actionpack-2.3.15/lib/action\u controller/benchmarking.rb:30:in'benchmark' gems/gems/actionpack-2.3.15/lib/action\u view/renderable\u partial.rb:19:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/template.rb:205:in'render\u template' gems/gems/actionpack-2.3.15/lib/action\u view/renderable\u partial.rb:44:in'render\u partial' gems/gems/actionpack-2.3.15/lib/action\u view/partials.rb:184:in'render\u partial' gems/gems/actionpack-2.3.15/lib/action_view/base.rb:267:in'render' app/views/rules\u configuration/\u rule.html.erb:46 org/jruby/RubyKernel.java:2109:in'send' gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/base.rb:306:in'with\u template' gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/renderable\u partial.rb:20:in'render' gems/gems/actionpack-2.3.15/lib/action\u controller/benchmarking.rb:30:in'benchmark' gems/gems/actionpack-2.3.15/lib/action\u view/renderable\u partial.rb:19:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/template.rb:205:in'render\u template' gems/gems/actionpack-2.3.15/lib/action\u view/renderable\u partial.rb:44:in'render\u partial' gems/gems/actionpack-2.3.15/lib/action\u view/partials.rb:184:in'render\u partial' gems/gems/actionpack-2.3.15/lib/action_view/base.rb:267:in'render' app/views/rules\u configuration/index.html.erb:158 org/jruby/RubyArray.java:1620:in'each' app/views/rules\u configuration/index.html.erb:154 org/jruby/RubyKernel.java:2109:in'send' gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/base.rb:306:in'with\u template' gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/template.rb:205:in'render\u template' gems/gems/actionpack-2.3.15/lib/action_view/base.rb:265:in'render' gems/gems/actionpack-2.3.15/lib/action\u view/base.rb:348:in`_render\u 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\u controller/benchmarking.rb:51:in'render\u with\u benchmark' gems/gems/actionpack-2.3.15/lib/action\u controller/benchmarking.rb:51:in'render\u with\u benchmark' gems/gems/actionpack-2.3.15/lib/action\u controller/base.rb:1328:in'default\u render' gems/gems/actionpack-2.3.15/lib/action\u controller/base.rb:1334:in'perform\u action' gems/gems/actionpack-2.3.15/lib/action\u controller/filters.rb:617:in'call\u filters' gems/gems/actionpack-2.3.15/lib/action\u controller/filters.rb:610:“使用过滤器执行操作” gems/gems/actionpack-2.3.15/lib/action\u controller/benchmarking.rb:68:in“使用\u benchmark执行\u操作” gems/gems/actionpack-2.3.15/lib/action\u controller/benchmarking.rb:68:in“使用\u benchmark执行\u操作” gems/gems/actionpack-2.3.15/lib/action\u controller/rescue.rb:160:在“使用救援执行行动”中 gems/gems/actionpack-2.3.15/lib/action\u controller/flash.rb:151:“用flash执行动作” org/jruby/RubyKernel.java:2105:in'send' gems/gems/actionpack-2.3.15/lib/action\u controller/base.rb:532:in'process' gems/gems/actionpack-2.3.15/lib/action\u控制器/过滤器。rb:606:“使用过滤器的过程中” gems/gems/actionpack-2.3.15/lib/action\u controller/base.rb:391:in'process' gems/gems/actionpack-2.3.15/lib/action\u controller/base.rb:386:in'call' gems/gems/actionpack-2.3.15/lib/action\u controller/routing/route\u set.rb:438:in'call' gems/gems/actionpack-2.3.15/lib/action\u controller/dispatcher.rb:87:in'dispatch' gems/gems/actionpack-2.3.15/lib/action\u controller/dispatcher.rb:121:在“调用”中 gems/gems/actionpack-2.3.15/lib/action\u controller/dispatcher.rb:130:in'build\u middleware\u stack' org/jruby/RubyProc.java:270:in'call' org/jruby/RubyProc.java:220:in'call' gems/gems/activerecord-2.3.15/lib/active\u record/query\u cache.rb:29:in'call' gems/gems/activerecord-2.3.15/lib/active\u record/connection\u adapters/abstract/query\u cache.rb:34:in'cache' gems/gems/activerecord-2.3.15/lib/active\u record/query\u cache.rb:9:in'cache' gems/gems/activerecord-2.3.15/lib/active\u record/query\u cache.rb:28:in'call' gems/gems/activerecord-2.3.15/lib/active\u record/connection\u adapters/abstract/connection\u pool.rb:361:in'call' gems/gems/actionpack-2.3.15/lib/action\u controller/string\u强制。rb:25:in'call' gems/gems/actionpack-2.3.15/lib/action_controller/params_parser.rb:15:in'call' 文件:lib/jruby-rack-1.1.10.jar/jruby/rack/session_store.rb:70:在“上下文”中 宝石/宝石/交流
o.s.s.c.MetricsBackup  Disable user-defined metrics
o.s.s.c.MetricsBackup  Restore metrics
o.s.s.c.PropertiesBackup  Restore properties
o.s.s.c.RulesBackup  Disable rules created by user
o.s.s.c.RulesBackup  Restore rules
o.s.s.c.ProfilesBackup  Delete profiles
o.s.s.c.ProfilesBackup  Restore profile SIHM - Général
o.s.s.c.ProfilesBackup  Restore profile SIHM - Général
o.s.s.c.ProfilesBackup  Restore profile SIHM - Général
o.s.s.c.ProfilesBackup  Restore profile SIHM - Général
o.s.s.c.ProfilesBackup  Restore profile SIHM - Projets Intranet
o.s.s.c.ProfilesBackup  Restore profile SIHM - Projets Intranet
o.s.s.c.ProfilesBackup  Restore profile Sonar way with Findbugs
o.s.s.c.ProfilesBackup  Restore profile Sonar way
o.s.s.c.ProfilesBackup  Restore profile Sun checks
o.s.s.c.ProfilesBackup  Restore profile Sonar way
o.s.s.c.ProfilesBackup  Restore profile Sonar way
o.s.s.c.ProfilesBackup  Restore profile Sonar way
o.s.s.c.ProfilesBackup  Restore profile SIHM - Projets EAR
o.s.s.c.Backup  Backup restored
ERROR o.s.s.ui.JRubyFacade  Fail to render: http://xxxxx:9000/rules_configuration/index/10020
undefined method `strip' for nil:NilClass
        On line #11 of app/views/rules_configuration/_rule_note.html.erb

    8: %>
    9: <div id="<%= note_detail_div_id -%>">
    10: <div>
    11: <% if rule.description.strip.start_with?('<p>') %>
    12: <%= Internal.text.interpretMacros(rule.description) %>
    13: <% else %>
    14: <p><%= Internal.text.interpretMacros(rule.description) %></p>

    app/views/rules_configuration/_rule_note.html.erb:11
    org/jruby/RubyKernel.java:2109: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/rules_configuration/_rule.html.erb:46
    org/jruby/RubyKernel.java:2109: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/rules_configuration/index.html.erb:158
    org/jruby/RubyArray.java:1620:in `each'
    app/views/rules_configuration/index.html.erb:154
    org/jruby/RubyKernel.java:2109: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:2105: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:270:in `call'
    org/jruby/RubyProc.java:220: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.10.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.10.jar!/rack/adapter/rails.rb:34:in `serve_rails'
    file:lib/jruby-rack-1.1.10.jar!/rack/adapter/rails.rb:39:in `call'
    file:lib/jruby-rack-1.1.10.jar!/rack/handler/servlet.rb:22:in `call'