Hi,
While running liquibase for cassandra,
--liquibase formatted sql
--changeset user1:25
CREATE KEYSPACE IF NOT EXISTS key1
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1' }
;
USE key1;
CREATE TABLE IF NOT EXISTS xxx (
....
....
....
....
);
I am getting this error
Caused by: liquibase.exception.LiquibaseException: java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because "this.tableName" is null
at liquibase.Liquibase.runInScope(Liquibase.java:2452)
at liquibase.Liquibase.update(Liquibase.java:236)
at liquibase.Liquibase.update(Liquibase.java:221)
at liquibase.integration.commandline.Main.doMigration(Main.java:1829)
at liquibase.integration.commandline.Main$1.lambda$run$0(Main.java:394)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.integration.commandline.Main$1.run(Main.java:393)
at liquibase.integration.commandline.Main$1.run(Main.java:215)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:165)
at liquibase.integration.commandline.Main.run(Main.java:215)
at liquibase.command.AbstractCliWrapperCommandStep.run(AbstractCliWrapperCommandStep.java:33)
at liquibase.command.CommandScope.execute(CommandScope.java:173)
... 20 more
Kindly help in resolving this issue