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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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
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 Stack Overflow by Grzegorz Olszewski
, 2 years ago
Migration failed for change set /tmp/test.changeset.xml::4::test: Reason: /tmp/test.changeset.xml : No rows returned from SQL Precondition
via JIRA by Ali Ok, 1 year ago
Migration failed for change set master.xml::002::generated: Reason: master.xml : liquibase.precondition.core.PrimaryKeyExistsPrecondition@669251cc : Table 'liquibasetr.?nstallation' doesn't exist
via JIRA by Ali Ok, 1 year ago
Migration failed for change set master.xml::002::generated: Reason: master.xml : liquibase.precondition.core.PrimaryKeyExistsPrecondition@669251cc : Table 'liquibasetr.?nstallation' doesn't exist
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)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.