[
https://issues.apache.org/jira/browse/VFS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Hausladen updated VFS-315:
--------------------------------
Attachment: NPE.patch
This patch may be overkill in terms of addressing the specific problem I
observed. I didn't feel like dealing with any other NPEs, so I checked all the
possible ones for that line.
> NullPointerExceptions in WebdavFileObject when fetching properties
> ------------------------------------------------------------------
>
> Key: VFS-315
> URL: https://issues.apache.org/jira/browse/VFS-315
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: windows with IIS as webdav host.
> Reporter: David Hausladen
> Priority: Critical
> Fix For: 2.0
>
> Attachments: NPE.patch
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.