A
A
ArtAVi2018-10-02 00:41:57
Java
ArtAVi, 2018-10-02 00:41:57

Liquibase Generating Change Logs. Can anyone come across when creating a schema with a similar error? What could be the problem?

Unexpected error running Liquibase: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:279)
        at liquibase.integration.commandline.Main.doMigration(Main.java:1043)
        at liquibase.integration.commandline.Main.run(Main.java:191)
        at liquibase.integration.commandline.Main.main(Main.java:129)
        Caused by: liquibase.command.CommandExecutionException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at liquibase.command.AbstractCommand.execute(AbstractCommand.java:24)
        at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:277)
        ... 3 common frames omitted
        Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at liquibase.change.ColumnConfig.<init>(ColumnConfig.java:146)
at liquibase.change.AddColumnConfig.<init>(AddColumnConfig.java:16)
    at liquibase.diff.output.changelog.core.MissingIndexChangeGenerator.fixMissing(MissingIndexChangeGenerator.java:67)
    at liquibase.diff.output.changelog.ChangeGeneratorChain.fixMissing(ChangeGeneratorChain.java:48)
    at liquibase.diff.output.changelog.ChangeGeneratorFactory.fixMissing(ChangeGeneratorFactory.java:97)
    at liquibase.diff.output.changelog.DiffToChangeLog.generateChangeSets(DiffToChangeLog.java:206)
    at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:146)
    at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:87)
    at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:74)
    at liquibase.command.core.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:55)
    at liquibase.command.AbstractCommand.execute(AbstractCommand.java:19)
    ... 4 common frames omitted

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question