NPE in Util.delete for read-protected directories
-------------------------------------------------
Key: CAY-852
URL: https://issues.apache.org/cayenne/browse/CAY-852
Project: Cayenne
Issue Type: Bug
Components: Cayenne Core Library
Affects Versions: 1.2 [STABLE], 2.0 [STABLE], 3.0
Reporter: Andrus Adamchik
Assignee: Andrus Adamchik
Priority: Minor
Fix For: 3.0
When attempting to delete a directory that doesn't have an execute permission
for the user, the following NPE is thrown:
java.lang.NullPointerException
at org.apache.cayenne.util.Util.delete(Util.java:204)
Correct behavior would be for Cayenne to simply return 'false' from the method
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.