You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/02/22 14:36:57 UTC
DO NOT REPLY [Bug 46747] sync task crashes with NPE when trying to
delete dead directory symlink
https://issues.apache.org/bugzilla/show_bug.cgi?id=46747
--- Comment #1 from skoppehel@intersoft.de 2009-02-22 05:36:56 PST ---
Created an attachment (id=23295)
--> (https://issues.apache.org/bugzilla/attachment.cgi?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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.