Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 3.0
-
Fix Version/s: None
-
Component/s: Web
-
Labels:None
-
Number of attachments :
Description
When opening the Available Plugin page I get an error with "We're sorry, but something went wrong.".
In the sonar log file I found the following error:
2012.04.23 10:11:15 ERROR o.s.s.ui.JRubyFacade Fail to render: http://sonar.glox.ch:9000/updatecenter/available
no implicit conversion from nil to integer
On line #30 of app/views/updatecenter/available.html.erb
27: </tr>
28: </thead>
29: <tbody>
30: <% updates.sort_by{|c| c.getPlugin().getName()}.each do |update|
31: plugin=update.getPlugin()
32: %>
33: <tr class="<%= cycle('even','odd', :name => category) -%>">
org/jruby/RubyEnumerable.java:480:in `sort_by'
app/views/updatecenter/available.html.erb:30
org/jruby/RubyArray.java:1602:in `each'
app/views/updatecenter/available.html.erb:20
org/jruby/RubyKernel.java:2056:in `send'
org/jruby/RubyKernel.java:2064:in `send'
org/jruby/RubyProc.java:268:in `call'
org/jruby/RubyProc.java:228:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/head.rb:9:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/jruby/rack/session_store.rb:42:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/jruby/rack/session_store.rb:39:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:36:in `serve_rails'
file:lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:41:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/jruby/rack/rails.rb:185:in `call'
file:lib/jruby-rack-1.0.0.1.jar!/rack/handler/servlet.rb:19:in `call'
Hi Marcel,
There was a missing value in the update center during a few minutes.
Could you please check that everything is fine after launching http://sonar.glox.ch:9000/updatecenter/available?refresh=true ?