commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-29) [io] NPE in FileUtils.listFiles(dir, extensions, recursive)
Date Thu, 13 Jul 2006 03:32:30 GMT
     [ 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


Mime
View raw message