ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46747] sync task crashes with NPE when trying to delete dead directory symlink
Date Sun, 22 Feb 2009 13:36:57 GMT

--- Comment #1 from  2009-02-22 05:36:56 PST ---
Created an attachment (id=23295)
 --> (
Patch to test for null

The attached patch makes the NPE go away by testing f.list() for null before
looking at length. Whether or not the fact that a non-listable file appears at
this point is indicative of a deeper bug somewhere else, I cannot say. The test
case I described now works as expected, the dead link gets deleted.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message