liquibase.exception.MigrationFailedException

Migration failed for change set changelog/db-changelog-3.7.1.xml::3.7.1_mychangeset::mycorp: Reason: changelog/db-changelog-3.7.1.xml : liquibase.precondition.core.ColumnExistsPrecondition@252b6749 : Cannot snapshot offline database

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web25

  • via JIRA by Rafael Chaves, 9 months ago
    Migration failed for change set changelog/db-changelog-3.7.1.xml::3.7.1_mychangeset::mycorp: Reason: changelog/db-changelog-3.7.1.xml : liquibase.precondition.core.ColumnExistsPrecondition@252b6749 : Cannot snapshot offline database
  • via JIRA by Rafael Chaves, 1 year ago
    Migration failed for change set changelog/db-changelog-3.7.1.xml::3.7.1_mychangeset::mycorp: Reason: changelog/db-changelog-3.7.1.xml : liquibase.precondition.core.ColumnExistsPrecondition@252b6749 : Cannot snapshot offline database
  • Stack trace

    • liquibase.exception.MigrationFailedException: Migration failed for change set changelog/db-changelog-3.7.1.xml::3.7.1_mychangeset::mycorp: Reason: changelog/db-changelog-3.7.1.xml : liquibase.precondition.core.ColumnExistsPrecondition@252b6749 : Cannot snapshot offline database at liquibase.changelog.ChangeSet.execute(ChangeSet.java:482) at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:43) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:70) at liquibase.Liquibase.update(Liquibase.java:195) at liquibase.Liquibase.update(Liquibase.java:246) at liquibase.Liquibase.update(Liquibase.java:229) at liquibase.integration.commandline.Main.doMigration(Main.java:1006) at liquibase.integration.commandline.Main.run(Main.java:170) at liquibase.integration.commandline.Main.main(Main.java:89) Caused by: liquibase.exception.PreconditionErrorException: Precondition Error at liquibase.precondition.core.ColumnExistsPrecondition.check(ColumnExistsPrecondition.java:81) at liquibase.precondition.core.NotPrecondition.check(NotPrecondition.java:38) at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:43) at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:43) at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:201) at liquibase.changelog.ChangeSet.execute(ChangeSet.java:439) ... 8 more Caused by: liquibase.exception.DatabaseException: Cannot snapshot offline database at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:124) at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:134) at liquibase.snapshot.SnapshotGeneratorFactory.has(SnapshotGeneratorFactory.java:88) at liquibase.precondition.core.ColumnExistsPrecondition.check(ColumnExistsPrecondition.java:77) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.