You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "vijayan (JIRA)" <ji...@apache.org> on 2012/10/15 14:56:03 UTC

[jira] [Created] (VFS-441) FileObject.exists - Could not determine the type of the file

vijayan created VFS-441:
---------------------------

             Summary: FileObject.exists - Could not determine the type of the file
                 Key: VFS-441
                 URL: https://issues.apache.org/jira/browse/VFS-441
             Project: Commons VFS
          Issue Type: Bug
            Reporter: vijayan
            Priority: Critical


Hi,

We are using common-vfs-1.0.jar. And it used to work fined. But on and off in a random manner, we get the following exception

org.apache.commons.vfs.FileSystemException: Could not determine the type of file "https://.....".
	at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1305)
	at org.apache.commons.vfs.provider.AbstractFileObject.getType(AbstractFileObject.java:412)
	at org.apache.commons.vfs.provider.AbstractFileObject.exists(AbstractFileObject.java:402)

Caused by: org.apache.commons.vfs.FileSystemException: HEAD method failed for "https://....".
	at org.apache.commons.vfs.provider.http.HttpFileObject.doGetType(HttpFileObject.java:96)
	at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1296)

Restarting the server will work smoothly. But why this error occuring , any help would be appreciated. Thanks in advance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira