[JIRA] Created: (CAY-852) NPE in Util.delete for read-protected directories

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Aug 23 2007 - 11:16:51 EDT

  • Next message: Tore Halset: "CAYDOC -> doc?"

    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.
    



    This archive was generated by hypermail 2.0.0 : Thu Aug 23 2007 - 11:17:29 EDT