Yep, that was a bug!
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
Yep, that was a bug!
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
I programmatically generate sql by calling update(…, writer) in combination with a OfflineConnection. This has worked great until recently.
With the latest update from git, I get:
java.lang.ArrayIndexOutOfBoundsException: 11
Stack trace:
liquibase.exception.DatabaseException: java.lang.ArrayIndexOutOfBoundsException: 11
at liquibase.changelog.OfflineChangeLogHistoryService.appendChangeSet(OfflineChangeLogHistoryService.java:282)
at liquibase.changelog.OfflineChangeLogHistoryService.setExecType(OfflineChangeLogHistoryService.java:318)
at liquibase.database.AbstractJdbcDatabase.markChangeSetExecStatus(AbstractJdbcDatabase.java:1096)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:62)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:73)
at liquibase.Liquibase.update(Liquibase.java:208)
at liquibase.Liquibase.update(Liquibase.java:271)
at liquibase.Liquibase.update(Liquibase.java:252)
The databasechangelog.csv looks like this, I think liquibase tries to index it at 11, but there isn’t enough fields…
“ID”,“AUTHOR”,“FILENAME”,“DATEEXECUTED”,“ORDEREXECUTED”,“EXECTYPE”,“MD5SUM”,“DESCRIPTION”,“COMMENTS”,“TAG”,“LIQUIBASE”
Ideas?
Thanks.
Confirmed that this pull request fixes the issue: