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
  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
  3. 0

    GitHub comment 16#258365443

    GitHub | 1 month ago | qrsor
    java.lang.IllegalStateException: Cannot find module for class XXX
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NetBeans IDE 5.0

    Google Groups | 1 decade ago | Mize-ze
    java.lang.IllegalStateException: cannot find FileArchive class...
  6. 0

    Error when storing an UpdatableRecord that has no changed values

    GitHub | 4 years ago | lukaseder
    java.lang.IllegalStateException: Cannot create SQL for empty insert statement

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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