java.lang.IllegalStateException: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3

JIRA | Don Smith | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    When running a changelog containing dropAllForeignKeyConstraints, Liquibase throws an exception: Liquibase Update Failed: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3 SEVERE 11/2/11 9:00 PM:liquibase: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3 java.lang.IllegalStateException: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3 at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:148) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22) at liquibase.executor.jvm.JdbcExecutor.access$300(JdbcExecutor.java:36) at liquibase.executor.jvm.JdbcExecutor$1QueryStatementCallback.doInStatement(JdbcExecutor.java:121) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55) at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:142) at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:150) at liquibase.executor.jvm.JdbcExecutor.queryForList(JdbcExecutor.java:202) at liquibase.executor.jvm.JdbcExecutor.queryForList(JdbcExecutor.java:197) at liquibase.change.core.DropAllForeignKeyConstraintsChange.generateChildren(DropAllForeignKeyConstraintsChange.java:82) at liquibase.change.core.DropAllForeignKeyConstraintsChange.generateStatements(DropAllForeignKeyConstraintsChange.java:54) at liquibase.change.AbstractChange.warn(AbstractChange.java:78) at liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:77) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58) at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:131) at liquibase.Liquibase.update(Liquibase.java:110) at liquibase.integration.commandline.Main.doMigration(Main.java:707) at liquibase.integration.commandline.Main.main(Main.java:133)

    JIRA | 5 years ago | Don Smith
    java.lang.IllegalStateException: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3
  2. 0

    When running a changelog containing dropAllForeignKeyConstraints, Liquibase throws an exception: Liquibase Update Failed: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3 SEVERE 11/2/11 9:00 PM:liquibase: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3 java.lang.IllegalStateException: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3 at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:148) at liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22) at liquibase.executor.jvm.JdbcExecutor.access$300(JdbcExecutor.java:36) at liquibase.executor.jvm.JdbcExecutor$1QueryStatementCallback.doInStatement(JdbcExecutor.java:121) at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55) at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:142) at liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:150) at liquibase.executor.jvm.JdbcExecutor.queryForList(JdbcExecutor.java:202) at liquibase.executor.jvm.JdbcExecutor.queryForList(JdbcExecutor.java:197) at liquibase.change.core.DropAllForeignKeyConstraintsChange.generateChildren(DropAllForeignKeyConstraintsChange.java:82) at liquibase.change.core.DropAllForeignKeyConstraintsChange.generateStatements(DropAllForeignKeyConstraintsChange.java:54) at liquibase.change.AbstractChange.warn(AbstractChange.java:78) at liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:77) at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58) at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:131) at liquibase.Liquibase.update(Liquibase.java:110) at liquibase.integration.commandline.Main.doMigration(Main.java:707) at liquibase.integration.commandline.Main.main(Main.java:133)

    JIRA | 5 years ago | Don Smith
    java.lang.IllegalStateException: Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot find generators for database class liquibase.database.core.DerbyDatabase, statement: liquibase.statement.core.FindForeignKeyConstraintsStatement@4d93e3

      at liquibase.sqlgenerator.SqlGeneratorFactory.generateSql()
    2. Liquibase Core
      Main.main
      1. liquibase.sqlgenerator.SqlGeneratorFactory.generateSql(SqlGeneratorFactory.java:148)
      2. liquibase.executor.AbstractExecutor.applyVisitors(AbstractExecutor.java:22)
      3. liquibase.executor.jvm.JdbcExecutor.access$300(JdbcExecutor.java:36)
      4. liquibase.executor.jvm.JdbcExecutor$1QueryStatementCallback.doInStatement(JdbcExecutor.java:121)
      5. liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
      6. liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:142)
      7. liquibase.executor.jvm.JdbcExecutor.query(JdbcExecutor.java:150)
      8. liquibase.executor.jvm.JdbcExecutor.queryForList(JdbcExecutor.java:202)
      9. liquibase.executor.jvm.JdbcExecutor.queryForList(JdbcExecutor.java:197)
      10. liquibase.change.core.DropAllForeignKeyConstraintsChange.generateChildren(DropAllForeignKeyConstraintsChange.java:82)
      11. liquibase.change.core.DropAllForeignKeyConstraintsChange.generateStatements(DropAllForeignKeyConstraintsChange.java:54)
      12. liquibase.change.AbstractChange.warn(AbstractChange.java:78)
      13. liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:77)
      14. liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
      15. liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:131)
      16. liquibase.Liquibase.update(Liquibase.java:110)
      17. liquibase.integration.commandline.Main.doMigration(Main.java:707)
      18. liquibase.integration.commandline.Main.main(Main.java:133)
      18 frames