Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-3402

Provide a meaningful error message when starting a Sonar server (ex 2.12) with a greater version of the Sonar DB (ex 2.14)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Database
    • Labels:
      None

      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'
      
      

        Attachments

          Activity

            People

            Assignee:
            fabemn OLD - Fabrice Bellingard
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: