我可以从声纳发布视图到链接到JIRA 。该问题在JIRA中成功创建。 JIRA描述包含了Sonar问题的链接。在此之后有两个问题:
我们很抱歉,但出了点问题 如果问题仍然存在,请在几分钟后回过头来联系支持部门 回到主页
有没有人见过这个?
sonar.log显示如下内容:
2014.06.19 23:10:13错误[ossui.JRubyFacade]渲染失败:http:// ****:9000 / issue / show / 19b4e295-ac26-47d7-84f3-d60e0a49c67c?layout = false
nil的未定义方法`name':NilClass 在app / views / issue / _issue.html.erb
的第137行134: comment_html_id = "comment-#{comment.key}-#{rand(100)}" %>
135: <div class="code-issue-comment" id="<%= comment_html_id -%>" data-comment-key="<%= comment.key -%>">
136: <h4>
137: <%= image_tag('reviews/comment.png') -%> <b><%= h( @issue_results.user(comment.userLogin()).name() ) -%></b>
138: (<%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(comment.createdAt)) -%>)
139: <% if current_user && current_user.login==comment.userLogin %>
140:
app/views/issue/_issue.html.erb:137
file:lib/jruby-complete-1.7.9.jar!/jruby/java/java_ext/java.util.rb:7:in `each'
app/views/issue/_issue.html.erb:133
org/jruby/RubyKernel.java:2227: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/issue/_show.html.erb:25
org/jruby/RubyKernel.java:2227:in `send'
答案 0 :(得分:0)
这个错误似乎来自JIRA插件在问题上创建的评论。 已使用哪个帐户点击&#34;链接到JIRA&#34;按钮?是你的吗?您确定此帐户仍然存在吗?
Regads