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

Error log "undefined method `downcase' for ["BLOCKER", "CRITICAL", "MAJOR", "MINOR", "INFO"]:Array"

    XMLWordPrintable

    Details

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

      Description

      2012.03.20 01:53:17 ERROR o.s.s.ui.JRubyFacade  Fail to render: http://nemo.sonarsource.org/drilldown/violations/304668?rule=checkstyle%3Acom.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck
      undefined method `downcase' for ["BLOCKER", "CRITICAL", "MAJOR", "MINOR", "INFO"]:Array
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/app/controllers/drilldown_controller.rb:90:in `violations'
      	org/jruby/RubyKernel.java:2052:in `send'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      	file:/vol/sonar/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'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action_with_flash'
      	org/jruby/RubyKernel.java:2064:in `send'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:85:in `dispatch'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
      	org/jruby/RubyProc.java:268:in `call'
      	org/jruby/RubyProc.java:228:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/head.rb:9:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/jruby/rack/session_store.rb:42:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/jruby/rack/session_store.rb:39:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call'
      	/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:36:in `serve_rails'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:41:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/jruby/rack/rails.rb:185:in `call'
      	file:/vol/sonar/sonar-2.14/war/sonar-server/WEB-INF/lib/jruby-rack-1.0.0.1.jar!/rack/handler/servlet.rb:19:in `call'
      

        Attachments

          Activity

            People

            Assignee:
            fabemn OLD - Fabrice Bellingard
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: