You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2006/07/13 05:32:30 UTC

[jira] Resolved: (IO-29) [io] NPE in FileUtils.listFiles(dir, extensions, recursive)

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org