You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "James Carman (JIRA)" <ji...@apache.org> on 2010/09/08 22:50:34 UTC

[jira] Commented: (VFS-315) NullPointerExceptions in WebdavFileObject when fetching properties

    [ https://issues.apache.org/jira/browse/VFS-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907426#action_12907426 ] 

James Carman commented on VFS-315:
----------------------------------

Please provide a test case that exhibits the issue.

> 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.