Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException when Levenshtein distance and NewObjectsSnapshot are used together #820
When configuring Javers to use new objects snapshot and Levenshtein distance list comparison, then comparing to null object, I'm getting NullPointerException. It doesn't happen when either a different list comparison method is used or new object snapshot is not used.
Test case to reproduce (version 5.3.4):
The issue seems to be similar to #240, but not exactly the same.
Same error happens when comparing a list to an empty list: