Errors during

Hi all,

We are facing the below error for one of the schema, whenever we check-in a new change.

As of now we are facing the issue on 2 schemas.

Please let us know what is causing this.

Unexpected error running Liquibase: Unknown Reason

SEVERE 2/26/19 9:32 AM: liquibase: Unknown Reason

java.lang.NullPointerException

at liquibase.changelog.StandardChangeLogHistoryService.init(StandardChangeLogHistoryService.java:118)

at liquibase.Liquibase.checkLiquibaseTables(Liquibase.java:1076)

at liquibase.Liquibase.update(Liquibase.java:205)

at liquibase.Liquibase.update(Liquibase.java:192)

at liquibase.integration.commandline.Main.doMigration(Main.java:1096)

at liquibase.integration.commandline.Main.run(Main.java:180)

at liquibase.integration.commandline.Main.main(Main.java:99)

What version of liquibase are you using? Has this worked before? If so, what has changed since it worked? When you run the command, what log level are you using? If you are using anything less than DEBUG, can you re-run the command with it set at DEBUG and share the results?

Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/

Liquibase version is 3.4.2 . Yes it has worked before

No changes done recently. we run the deployments  through a tool -bamboo , not sure if it uses the DEBUG options.

okay will check the same, Thank you

I’ve got some clues, but nothing definitive. Here is what I did.

First, I went to github and found the 3.4.2 release tag. I then downloaded a zip file of the source code from that release and unzipped it, then opened it in my IDE (IntelliJ). I then found the source file at the top of the stack trace, and found line 118, the source of the NullPointerException. Here is the code in question, with some surrounding code for context.

LIQUIBASE column. See if that is in fact the case. If so, then something is a bit strange, because Liquibase tries very hard to ensure that the table exists and has the right columns, etc. 

Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/

The build was successful for one of the change and again it got failed for the next change with the below error

SEVERE 2/28/19 1:09 PM: liquibase: Unknown Reason

Something strange is happening and file paths are being created in a strange way. The included file path seems to have two parts to it - 

the first is 
I am not sure if that is a problem with your configuration or an actual bug. 

Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/