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

Http Error 500 when format parameter is used in web_api url

    XMLWordPrintable

    Details

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

      Description

      {{Fail to render: https://sonarqube.com/web_api/profiles/list?language=java&format=json
      Missing template web_api/index.erb in view path app/views:/var/tmp/sonarsource/sssonarqube/ror/governance/app/views
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/paths.rb:74:in `find_template'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1394:in `default_template'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:896:in `render'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      jar:file:/opt/sonarsource/sssonarqube/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:51:in `render_with_benchmark'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1331:in `default_render'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1337:in `perform_action'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:617:in `call_filters'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      jar:file:/opt/sonarsource/sssonarqube/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/core_ext/benchmark.rb:17:in `ms'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/flash.rb:151:in `perform_action_with_flash'
      org/jruby/RubyKernel.java:2223:in `send'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:532:in `process'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:606:in `process_with_filters'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:391:in `process'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:386:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/routing/route_set.rb:450:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:87:in `dispatch'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:85:in `dispatch'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:121:in `_call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
      org/jruby/RubyProc.java:290:in `call'
      org/jruby/RubyProc.java:224:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:29:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:9:in `cache'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:28:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/config/environment.rb:67:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/string_coercion.rb:25:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/rack-1.1.6/lib/rack/head.rb:9:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/params_parser.rb:15:in `call'
      file:/opt/sonarsource/sssonarqube/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/session_store.rb:70:in `context'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/rack-1.1.6/lib/rack/session/abstract/id.rb:58:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/failsafe.rb:26:in `call'
      /opt/sonarsource/sssonarqube/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:106:in `call'
      file:/opt/sonarsource/sssonarqube/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34:in `serve_rails'
      file:/opt/sonarsource/sssonarqube/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39:in `call'
      file:/opt/sonarsource/sssonarqube/lib/server/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22:in `call'}}

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            teryk.bellahsene Teryk Bellahsene
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: