commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <j...@apache.org>
Subject [jira] Deleted: (VFS-79) Cannot list children of HTTP folders
Date Fri, 18 Aug 2006 12:01:14 GMT
     [ http://issues.apache.org/jira/browse/VFS-79?page=all ]

Mario Ivankovits deleted VFS-79:
--------------------------------


> Cannot list children of HTTP folders
> ------------------------------------
>
>                 Key: VFS-79
>                 URL: http://issues.apache.org/jira/browse/VFS-79
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: Java 1.5
>            Reporter: Ben Ashpole
>         Assigned To: Mario Ivankovits
>
> The following code produces the below exception at f.getChildren(), even though the specified
location is a folder with children.  Similar problems exist for other protocol supported by
VFS.
>         FileSystemManager fsManager = VFS.getManager();
>         final FileObject f = fsManager.resolveFile(
>             "http://people.apache.org/builds/jakarta-commons/nightly/commons-vfs/");
>         FileObject[] children = f.getChildren();
> Exception in thread "main" org.apache.commons.vfs.FileSystemException: Could not list
the contents of "http://people.apache.org/builds/jakarta-commons/nightly/commons-vfs" because
it is not a folder.
> 	at org.apache.commons.vfs.provider.AbstractFileObject.getChildren(AbstractFileObject.java:525)
> 	at com.bashpole.reflectorGadget.reflectionGroup.Sync.test(Sync.java:118)

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