liquibase/liquibase-cassandra

NullPointerException after first success migration

Teramaks opened this issue · 0 comments

Caused by: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "this.tableName" is null
at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData$GetColumnResultSetCache.shouldBulkSelect(JdbcDatabaseSnapshot.java:378) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.ResultSetCache.get(ResultSetCache.java:50) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.JdbcDatabaseSnapshot$CachingDatabaseMetaData.getColumns(JdbcDatabaseSnapshot.java:323) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.jvm.ColumnSnapshotGenerator.addTo(ColumnSnapshotGenerator.java:160) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:79) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.jvm.JdbcSnapshotGenerator.snapshot(JdbcSnapshotGenerator.java:69) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorChain.snapshot(SnapshotGeneratorChain.java:49) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.DatabaseSnapshot.include(DatabaseSnapshot.java:312) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.DatabaseSnapshot.init(DatabaseSnapshot.java:105) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.DatabaseSnapshot.(DatabaseSnapshot.java:58) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.JdbcDatabaseSnapshot.(JdbcDatabaseSnapshot.java:34) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:215) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorFactory.createSnapshot(SnapshotGeneratorFactory.java:244) ~[liquibase-core-4.9.1.jar:na]
at liquibase.snapshot.SnapshotGeneratorFactory.getDatabaseChangeLogTable(SnapshotGeneratorFactory.java:252) ~[liquibase-core-4.9.1.jar:na]
at liquibase.changelog.StandardChangeLogHistoryService.init(StandardChangeLogHistoryService.java:109) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Liquibase.checkLiquibaseTables(Liquibase.java:1913) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Liquibase.lambda$update$1(Liquibase.java:226) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Scope.lambda$child$0(Scope.java:180) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Scope.child(Scope.java:189) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Scope.child(Scope.java:179) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Scope.child(Scope.java:158) ~[liquibase-core-4.9.1.jar:na]
at liquibase.Liquibase.runInScope(Liquibase.java:2405) ~[liquibase-core-4.9.1.jar:na]
... 82 common frames omitted

First launch is okay, all scripts executed but second app launch fails
Im using spring boot 2.7.6 and simba jdbc driver for cassandra
image