Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18515

Possible "java.lang.ClassCastException: java.time.LocalDateTime" when executing Liquibase migrations with MySQL connector 8.0.23

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Solved By
    • Affects Version/s: 12.10.7
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      This is a bug in Liquibase triggered by a change in the MySQL connector 8.0.23. See https://github.com/liquibase/liquibase/issues/1639 for more details.

      The possible workarounds are:

      • delete the following two tables before the migration: DATABASECHANGELOG and DATABASECHANGELOGLOCK.
      • or downgrade the mysql connector to < 8.0.23

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: