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

The widget "Most violated resources" generates an exception when used on a "Developer" resource

    XMLWordPrintable

    Details

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

      Description

      Here is the stack trace of the exception :

      2012.09.30 17:42:44 INFO  devcockpit  devcockpit plugin licensed to developers, EVALUATION, expiration: Thu Oct 18 00:00:00 CEST 2012
      2012.09.30 17:44:09 ERROR rails  Can not render widget hotspot_most_violated_resources: private method `split' called for nil:NilClass
      2012.09.30 17:44:09 ERROR rails    compiled-template:49:in `_run_inline_717882828_locals_dashboard_configuration_widget_widget_properties'
      2012.09.30 17:44:09 ERROR rails    org/jruby/RubyArray.java:1602:in `each'
      2012.09.30 17:44:09 ERROR rails    compiled-template:46:in `_run_inline_717882828_locals_dashboard_configuration_widget_widget_properties'
      2012.09.30 17:44:09 ERROR rails    org/jruby/RubyKernel.java:2056:in `send'
      2012.09.30 17:44:09 ERROR rails    /Users/freddy/Dropbox/softwares/sonar-3.2/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
      2012.09.30 17:44:09 ERROR rails    /Users/freddy/Dropbox/softwares/sonar-3.2/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
      2012.09.30 17:44:09 ERROR rails    /Users/freddy/Dropbox/softwares/sonar-3.2/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
      2012.09.30 17:44:09 ERROR rails    /Users/freddy/Dropbox/softwares/sonar-3.2/war/sonar-server/WEB-INF/vendor/rails/actionpack/lib/action_view/base.rb:269:in `render'
      2012.09.30 17:44:09 ERROR rails    /Users/freddy/Dropbox/softwares/sonar-3.2/war/sonar-server/WEB-INF/app/helpers/dashboard_helper.rb:134:in `widget_body'
      

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: