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

Nullpointer on duplications tab when a project has been deleted

    XMLWordPrintable

    Details

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

      Description

      That's easy to reproduce:

      1. create a duplication between project A and B
      2. run the analyses so that you can see the duplication in the duplications tab of the resource viewer of project A (using drilldown service on "duplicated_lines" metric)
      3. delete project B
      4. try to open again the duplication tab for project A (using drilldown service on "duplicated_lines" metric), you'll get:
        undefined method `root_id' for nil:NilClass
        

        Attachments

          Activity

            People

            Assignee:
            fabemn OLD - Fabrice Bellingard
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: