Hello All,
I have started implementing the Liquibase migration script for R3 Corda (Postgres DB). I am using the XML format of the scripts.
I have 2 version of script.
v1 - creation of the table.
v2 addition of the indexes on table created.
While doing that I am getting the below error - I have also tried this after resetting the DB, but still the error is same.
6:12.485 [main] INFO databaseInitialisation - DatabaseInitialisation(id="6inuWBYT";changeset="migration/table-name.changelog-v2.xml::add_indexes_table-name::NodeOperator";source="dev.jar";status="start")
2021-06-30 10:46:12.486
05:16:12.485 [main] ERROR liquibase.changelog.ChangeSet - Change Set migration/table-name.changelog-v2.xml::add_indexes_table-name::NodeOperator failed. Error: null
2021-06-30 10:46:12.491
05:16:12.490 [main] ERROR databaseInitialisation - DatabaseInitialisation(id="6inuWBYT";changeset="migration/table-name.changelog-v2.xml::add_indexes_table-name::NodeOperator";source="dev.jar";status="error";error_code="999";message="Migration failed for change set migration/table-name.changelog-v2.xml::add_indexes_table-name::NodeOperator: Reason: java.lang.NullPointerException")
But when I merged these 2 version of script in one script and deploy it (after resetting the DB). It worked fine.
Can anyone please suggest.
Thanks,
Ankit