A folder was passed to the LogicalFSFileStore#getContents() method, which requires a file as input.
Explanation
Getting the contents of a LogicalFSFileStore is valid
only when the resource associated with the store is a file.
User response
No action is required.