Details
Description
The following meaningless exception is currently thrown by the Sonar server when trying to access to a page :
2012.04.09 19:33:10 ERROR o.s.s.ui.JRubyFacade Fail to render: http://localhost:9000/ java.lang.NullPointerException: null org/sonar/server/ui/JRubyFacade.java:74:in `executeFilter' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/app/models/filters.rb:116:in `execute' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/app/controllers/filters_controller.rb:466:in `load_active_filter' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/app/controllers/filters_controller.rb:33:in `index' org/jruby/RubyKernel.java:2052:in `send' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' file:/Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/1.8/benchmark.rb:308:in `realtime' /Users/freddy/Dropbox/softwares/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
From my tests and from what I can see in the code, this feature has already been implemented in Sonar 3.0. The resulting log message in this case is: