[ http://issues.apache.org/jira/browse/IO-29?page=all ]
     
Henri Yandell resolved IO-29:
-----------------------------

    Resolution: Cannot Reproduce

Going with Martin's cannot reproduce as a resolution.

> [io] NPE in FileUtils.listFiles(dir, extensions, recursive)
> -----------------------------------------------------------
>
>          Key: IO-29
>          URL: http://issues.apache.org/jira/browse/IO-29
>      Project: Commons IO
>         Type: Bug

>     Versions: 1.0
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Thorsten Möller

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to