commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Hausladen (JIRA)" <>
Subject [jira] Updated: (VFS-315) NullPointerExceptions in WebdavFileObject when fetching properties
Date Wed, 08 Sep 2010 19:58:33 GMT


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

View raw message