liquibase.exception.MigrationFailedException

Migration failed for change set latest/vw/departments_vw.xml::1::jsmith: Reason: update.xml : Error getting jdbc:hsqldb:hsql://localhost/testdb view with liquibase.statement.core.GetViewDefinitionStatement@a00185 : Caused By: Precondition Error

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 Nathan Voxland, 1 year ago
    Migration failed for change set latest/vw/departments_vw.xml::1::jsmith: Reason: update.xml : Error getting jdbc:hsqldb:hsql://localhost/testdb view with liquibase.statement.core.GetViewDefinitionStatement@a00185 : Caused By: Precondition Error
  • via JIRA by Nathan Voxland, 1 year ago
    Migration failed for change set latest/vw/departments_vw.xml::1::jsmith: Reason: update.xml : Error getting jdbc:hsqldb:hsql://localhost/testdb view with liquibase.statement.core.GetViewDefinitionStatement@a00185 : Caused By: Precondition Error
  • via liquibase.org by Unknown author, 1 year ago
    Migration failed for change set latest/vw/departments_vw.xml::1::jsmith:     Reason:          update.xml : Error getting jdbc:hsqldb:hsql://localhost/testdb view with liquibase.statement.core.GetViewDefinitionStatement@a00185 :          Caused By: Precondition Error
  • Stack trace

    • liquibase.exception.MigrationFailedException: Migration failed for change set latest/vw/departments_vw.xml::1::jsmith: Reason: update.xml : Error getting jdbc:hsqldb:hsql://localhost/testdb view with liquibase.statement.core.GetViewDefinitionStatement@a00185 : Caused By: Precondition Error at liquibase.changelog.ChangeSet.execute(ChangeSet.java:197) at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:26) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:39) at liquibase.Liquibase.update(Liquibase.java:103) at liquibase.integration.commandline.Main.doMigration(Main.java:664) at liquibase.integration.commandline.Main.main(Main.java:105) Caused by: liquibase.exception.PreconditionErrorException: Precondition Error at liquibase.precondition.core.ViewExistsPrecondition.check(ViewExistsPrecondition.java:39) at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:24) at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199) at liquibase.changelog.ChangeSet.execute(ChangeSet.java:163) ... 5 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.