【问题标题】:Sonar update to 5.4 cannot display project list声纳更新到 5.4 无法显示项目列表
【发布时间】:2016-07-13 04:51:20
【问题描述】:

使用 oracle 12c 数据库后端将 SonarQube 升级到 5.4。升级完全按照文档概述中的步骤进行,没有错误。

http://docs.sonarqube.org/display/SONAR/Upgrading

在项目列表屏幕上出现以下错误:

尝试显示小部件“measure_filter_list”时出错。请联系管理员。

这与之前针对 5.1 提出的以下问题相同,只是此处的解决方案没有解决我的问题。我重新运行了分析,可以在声纳中查看,但列表屏幕仍然不起作用。

Sonar update 5.0.1 to 5.1: "Can not render widget measure_filter_list" on "Projects" dashboard

以下是 sonar.log 的摘录:

2016.03.25 11:57:42 ERROR web[rails] Can not render widget measure_filter_list:
ActionView::TemplateError (undefined method `to_date' for nil:NilClass) on line #208 of app/views/measures/_display_list.html.erb:
   <% end %>
   <% filter.display.columns.each do |column| %>
     <td class="<%= column.align -%> <%= column.row_css -%>">
       <%= list_cell_html(column, row) -%>
     </td>
   <% end %>
 </tr>

app/helpers/application_helper.rb:118:in `human_short_date'

非常感谢任何帮助。

【问题讨论】:

  • 尝试创建新列表?

标签: sonarqube sonarqube-web sonarqube-5.4


【解决方案1】:

最终发现问题所在。

在初始安装时,设置它的人使用了 oracle 12.1.0.1 驱动程序。切换到 11g 驱动程序,我们正在工作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-05-09
    • 1970-01-01
    • 2012-12-25
    • 2017-04-15
    • 2017-05-09
    • 2016-02-26
    相关资源
    最近更新 更多