commit_date_instant NullPointerException when committing entities created prior 5.1.3 #782
I have upgraded our project from Javers 3.12.1 to 5.1.3 and now getting NullPointerException (stacktrace below) when committing entities that have older commits that were done before the upgrade. Committing new entities works well. We are using SqlRepository with postgresql database.
Done a bit of digging into the source code and it looks like exception happens when Javers is deserialising commit_date_instant column value in SnapshotQuery:166 which is always null for older commits.
Here is a relevant part of the stack trace:
The text was updated successfully, but these errors were encountered: