This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
FileBackedFingerprintRepository throws NPE if fingerPrintFile has no parent Dir #50
Labels
bug
Something isn't working
When attempt to create a FileBackedFingerprintRepository, if the supplied path is a simple filename (eg Path.of("file.tmp"), it effectively has no parent directory, and thus the call to createDirectories() (on line 39) is invoked with a 'null' parameter, resulting in an NPE.
Current workaround is to ensure it the FileBackedFingerprintRepository is instantiated with an absolutePath
The text was updated successfully, but these errors were encountered: