liquibase.exception.RollbackFailedException: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created

JIRA | Daniel Skiles | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When upgrading from liquibase 3.0 to 3.2.2, the following rollback statement now fails: <rollback> <comment>No rollback possible</comment> </rollback> It presents this error: No inverse to liquibase.change.core.ModifyDataTypeChange created liquibase.exception.RollbackFailedException: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:628) at liquibase.changelog.visitor.RollbackVisitor.visit(RollbackVisitor.java:35) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:70) at liquibase.Liquibase.rollback(Liquibase.java:430) at liquibase.Liquibase.rollback(Liquibase.java:407) at liquibase.integration.commandline.Main.doMigration(Main.java:1016) at liquibase.integration.commandline.Main.run(Main.java:170) at liquibase.integration.commandline.Main.main(Main.java:89) Caused by: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created at liquibase.change.AbstractChange.generateRollbackStatementsFromInverse(AbstractChange.java:423) at liquibase.change.AbstractChange.generateRollbackStatements(AbstractChange.java:396) at liquibase.database.AbstractJdbcDatabase.executeRollbackStatements(AbstractJdbcDatabase.java:1223) at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:614) ... 7 more

    JIRA | 3 years ago | Daniel Skiles
    liquibase.exception.RollbackFailedException: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created
  2. 0

    When upgrading from liquibase 3.0 to 3.2.2, the following rollback statement now fails: <rollback> <comment>No rollback possible</comment> </rollback> It presents this error: No inverse to liquibase.change.core.ModifyDataTypeChange created liquibase.exception.RollbackFailedException: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:628) at liquibase.changelog.visitor.RollbackVisitor.visit(RollbackVisitor.java:35) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:70) at liquibase.Liquibase.rollback(Liquibase.java:430) at liquibase.Liquibase.rollback(Liquibase.java:407) at liquibase.integration.commandline.Main.doMigration(Main.java:1016) at liquibase.integration.commandline.Main.run(Main.java:170) at liquibase.integration.commandline.Main.main(Main.java:89) Caused by: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created at liquibase.change.AbstractChange.generateRollbackStatementsFromInverse(AbstractChange.java:423) at liquibase.change.AbstractChange.generateRollbackStatements(AbstractChange.java:396) at liquibase.database.AbstractJdbcDatabase.executeRollbackStatements(AbstractJdbcDatabase.java:1223) at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:614) ... 7 more

    JIRA | 3 years ago | Daniel Skiles
    liquibase.exception.RollbackFailedException: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.ModifyDataTypeChange created
  3. 0

    Liquibase 2.0 - Rolling Back LiquiBase Formatted SQL

    Stack Overflow | 6 years ago | Bob
    liquibase.exception.RollbackFailedException: liquibase.exception.RollbackImpossibleException: No inverse to liquibase.change.core.RawSQLChange created
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Run dropNotNullConstraint against SQL Server 2008 R2 without specifying a columnDataType and liquibase crashes with a nullPointer exception. Add the columnDataType and the problem is fixed. However, this attribute doesn't seem to be enforced by the schema (3.1) or the code. Liquibase rollbackCount Failed: java.lang.NullPointerException SEVERE 8/04/14 2:26 PM:liquibase: changelog/db.changelog-1.0-baseline-schema-workflow-002.xml::wf-002.141::rattri ointerException liquibase.exception.RollbackFailedException: java.lang.NullPointerException at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:452) at liquibase.changelog.visitor.RollbackVisitor.visit(RollbackVisitor.java:32) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:64) at liquibase.Liquibase.rollback(Liquibase.java:381) at liquibase.Liquibase.rollback(Liquibase.java:360) at liquibase.integration.commandline.Main.doMigration(Main.java:906) at liquibase.integration.commandline.Main.main(Main.java:133) Caused by: java.lang.NullPointerException at liquibase.datatype.DataTypeFactory.fromDescription(DataTypeFactory.java:88) at liquibase.sqlgenerator.core.SetNullableGenerator.generateSql(SetNullableGenerator.java:64) at liquibase.sqlgenerator.core.SetNullableGenerator.generateSql(SetNullableGenerator.java:21) at liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30) at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:198) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22) at liquibase.executor.jvm.JdbcExecutor.access$500(JdbcExecutor.java:35) at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:284) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:54) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:106) at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:427) ... 6 more

    JIRA | 3 years ago | Ross Attrill
    liquibase.exception.RollbackFailedException: java.lang.NullPointerException
  6. 0

    Run dropNotNullConstraint against SQL Server 2008 R2 without specifying a columnDataType and liquibase crashes with a nullPointer exception. Add the columnDataType and the problem is fixed. However, this attribute doesn't seem to be enforced by the schema (3.1) or the code. Liquibase rollbackCount Failed: java.lang.NullPointerException SEVERE 8/04/14 2:26 PM:liquibase: changelog/db.changelog-1.0-baseline-schema-workflow-002.xml::wf-002.141::rattri ointerException liquibase.exception.RollbackFailedException: java.lang.NullPointerException at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:452) at liquibase.changelog.visitor.RollbackVisitor.visit(RollbackVisitor.java:32) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:64) at liquibase.Liquibase.rollback(Liquibase.java:381) at liquibase.Liquibase.rollback(Liquibase.java:360) at liquibase.integration.commandline.Main.doMigration(Main.java:906) at liquibase.integration.commandline.Main.main(Main.java:133) Caused by: java.lang.NullPointerException at liquibase.datatype.DataTypeFactory.fromDescription(DataTypeFactory.java:88) at liquibase.sqlgenerator.core.SetNullableGenerator.generateSql(SetNullableGenerator.java:64) at liquibase.sqlgenerator.core.SetNullableGenerator.generateSql(SetNullableGenerator.java:21) at liquibase.sqlgenerator.SqlGeneratorChain.generateSql(SqlGeneratorChain.java:30) at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:198) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22) at liquibase.executor.jvm.JdbcExecutor.access$500(JdbcExecutor.java:35) at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:284) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:54) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:106) at liquibase.changelog.ChangeSet.rollback(ChangeSet.java:427) ... 6 more

    JIRA | 3 years ago | Ross Attrill
    liquibase.exception.RollbackFailedException: java.lang.NullPointerException

    Root Cause Analysis

    1. liquibase.exception.RollbackImpossibleException

      No inverse to liquibase.change.core.ModifyDataTypeChange created

      at liquibase.change.AbstractChange.generateRollbackStatementsFromInverse()
    2. Liquibase Core
      Main.main
      1. liquibase.change.AbstractChange.generateRollbackStatementsFromInverse(AbstractChange.java:423)
      2. liquibase.change.AbstractChange.generateRollbackStatements(AbstractChange.java:396)
      3. liquibase.database.AbstractJdbcDatabase.executeRollbackStatements(AbstractJdbcDatabase.java:1223)
      4. liquibase.changelog.ChangeSet.rollback(ChangeSet.java:614)
      5. liquibase.changelog.visitor.RollbackVisitor.visit(RollbackVisitor.java:35)
      6. liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:70)
      7. liquibase.Liquibase.rollback(Liquibase.java:430)
      8. liquibase.Liquibase.rollback(Liquibase.java:407)
      9. liquibase.integration.commandline.Main.doMigration(Main.java:1016)
      10. liquibase.integration.commandline.Main.run(Main.java:170)
      11. liquibase.integration.commandline.Main.main(Main.java:89)
      11 frames