You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2010/11/02 15:06:28 UTC

[jira] Issue Comment Edited: (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=12927416#action_12927416 ] 

Ralph Goers edited comment on VFS-315 at 11/2/10 10:06 AM:
-----------------------------------------------------------

I applied the patch and verified that the Webdav functional test still works properly. I reviewed the patch and it looks good to me. Please verify and close.

      was (Author: ralph.goers@dslextreme.com):
    I applied the patch and verified that the Webdav functional test still works properly. I reviewed the patch and it looks good to me.
  
> 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.