Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 35374 invoked from network); 8 Sep 2010 19:58:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 19:58:55 -0000 Received: (qmail 9876 invoked by uid 500); 8 Sep 2010 19:58:55 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 9787 invoked by uid 500); 8 Sep 2010 19:58:54 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 9779 invoked by uid 99); 8 Sep 2010 19:58:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 19:58:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 19:58:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88JwX0r008867 for ; Wed, 8 Sep 2010 19:58:34 GMT Message-ID: <8584162.83741283975913811.JavaMail.jira@thor> Date: Wed, 8 Sep 2010 15:58:33 -0400 (EDT) From: "David Hausladen (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (VFS-315) NullPointerExceptions in WebdavFileObject when fetching properties In-Reply-To: <31929652.83701283975794736.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.