DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29140>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29140 NPE in FileUtils.listFiles(dir, extensions, recursive) Summary: NPE in FileUtils.listFiles(dir, extensions, recursive) Product: Commons Version: 1.0 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: IO AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Calling this method with dir="c:\\" with recursion set to true on a Windows XP system with NTFS partition produces NPE (debugger told line 145). I think the problem is when the method reaches dirs which the user has no permission to read, for instance "c:\System Volume Information". Maybe file.canRead() should be added somewhere before trying to go one step deeper in directory tree. Thorsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
