Commons VFS
  1. Commons VFS
  2. VFS-315

NullPointerExceptions in WebdavFileObject when fetching properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:

      windows with IIS as webdav host.

      Description

      The WebdavFileObject sometimes throws a NullPointerException in doGetAttributes in the body of the second loop. For some reason, when it goes out to resolve the property, it sometimes is returned as a null DavProperty. When the DavProperty's getName method is called, there's a NPE.

      1. NPE.patch
        1 kB
        David Hausladen

        Activity

        David Hausladen created issue -
        David Hausladen made changes -
        Field Original Value New Value
        Attachment NPE.patch [ 12454148 ]
        Ralph Goers made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        David Hausladen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            David Hausladen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development