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

A plugin can't declare a quality profile relating to a language which is not installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 5.1
    • Component/s: Quality Profile
    • Labels:
      None

      Description

      See http://sonarqube.15.x6.nabble.com/sonar-dev-Sonar-Plugin-td5031067.html.

      Server starts to fail if a plugin declares a Quality profile related to a language that is not installed. Error log is

      org.sonar.server.platform.PlatformServletContextListener
      org.sonar.server.exceptions.BadRequestException: Rule not found: coverity-cpp:STATIC_C_SWAPPED_ARGUMENTS_none
          at org.sonar.server.qualityprofile.RuleActivatorContextFactory.initRule(RuleActivatorContextFactory.java:80) ~[sonar-server-4.5.1.jar:na]
      

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: