commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Franklin (JIRA)" <>
Subject [jira] Created: (VFS-175) NullPointerException in AbstractFileSystem.resolveFile
Date Fri, 12 Oct 2007 07:27:50 GMT
NullPointerException in AbstractFileSystem.resolveFile

                 Key: VFS-175
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 1.0
            Reporter: Andrew Franklin
            Priority: Trivial

1.  Prepare a large file that will take a while to transfer (> 2GB).
2. Start an ftp file transfer.
3. Once the transfer begins and you see the file start to grow on the destination side, delete

If you try to transfer again after it fails, you can get the following exception...

Caused by: org.apache.commons.vfs.FileSystemException: Could not determine the type of file
   at org.apache.commons.vfs.provider.AbstractFileObject.attach(
   at org.apache.commons.vfs.provider.AbstractFileObject.getType(
   at org.apache.commons.vfs.provider.AbstractFileObject.exists(
   at org.apache.commons.vfs.provider.AbstractFileObject.findFiles(
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
   at java.lang.reflect.Method.invoke(
   at $Proxy1.findFiles(Unknown Source)
   ... 5 more
Caused by: java.lang.NullPointerException
   at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(
   at org.apache.commons.vfs.provider.AbstractFileSystem.resolveFile(
   at org.apache.commons.vfs.provider.AbstractFileObject.getParent(
   at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(
   at org.apache.commons.vfs.provider.ftp.FtpFileObject.doAttach(
   at org.apache.commons.vfs.provider.AbstractFileObject.attach(
   ... 16 more

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message