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

java.lang.NullPointerException in the PopulateProjectsUuidColumns migration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.1.1, 5.2
    • Component/s: None
    • Labels:
      None

      Description

      A java.lang.NullPointerException can occur in when feeding uuids of components of project having :

      • A project has 2 active snapshots (should not be possible but it's what happen for a user)
      • A project has become the module of another project (which is no more possible now)

      The migration should not fail but should ignore components of such project.

      More details on stackoverflow :

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: