Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-315

NullPointerExceptions in WebdavFileObject when fetching properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

        1. NPE.patch
          1 kB
          David Hausladen

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: