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

Fail to upgrade to SQ 4.3 or 4.4 on Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7, 4.0, 4.2
    • Fix Version/s: 4.4.1, 4.5
    • Component/s: Database
    • Labels:
      None

      Description

      When SQ is using Oracle and SQALE plugin has been installed, migration to 4.3 or 4.4 is failing with the following error:

      ERROR [o.s.s.d.m.DatabaseMigrator]  Fail to execute database migration: org.sonar.server.db.migrations.v43.TechnicalDebtMeasuresMigration
      java.lang.IllegalStateException: java.sql.SQLException: No data read
      	at org.sonar.server.db.migrations.MassUpdater.processError(MassUpdater.java:193) ~[MassUpdater.class:na]
      	at org.sonar.server.db.migrations.MassUpdater.selectLong(MassUpdater.java:102) ~[MassUpdater.class:na]
      	at org.sonar.server.db.migrations.v43.TechnicalDebtMeasuresMigration.execute(TechnicalDebtMeasuresMigration.java:59) ~[TechnicalDebtMeasuresMigration.class:na]
      

      After that SQ server is stopped.

        Attachments

        1. sonar.log
          51 kB
          Julien Lancelot

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            agigleux OLD - Alexandre Gigleux (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: