[Cyberduck-trac] [Cyberduck] #5482: Cannot download when local files exist

Cyberduck trac at trac.cyberduck.ch
Mon Nov 29 23:43:51 CET 2010


#5482: Cannot download when local files exist
-----------------------------------------------+----------------------------
    Reporter:  bb@…                            |        Owner:  dkocher      
        Type:  defect                          |       Status:  new          
    Priority:  high                            |    Milestone:               
   Component:  ftp                             |      Version:  3.7          
    Severity:  major                           |   Resolution:               
    Keywords:  download, nullpointerexception  |     Platform:  Mac OS X 10.6
Architecture:  Intel                           |  
-----------------------------------------------+----------------------------
Description changed by dkocher:

Old description:

> Using FTP, when trying to download a file which already exists locally,
> it fails without a message. The console log says:
>
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> 2010-11-29 22:45:44,808 [pool-1-thread-7] ERROR
> ch.cyberduck.ui.AbstractController - Excpetion running background
> task:null
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> java.lang.NullPointerException
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at ch.cyberduck.core.DownloadTransfer.filter(DownloadTransfer.java:308)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at ch.cyberduck.core.Transfer.transfer(Transfer.java:514)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at ch.cyberduck.core.Transfer.start(Transfer.java:632)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at
> ch.cyberduck.ui.cocoa.BrowserController$22.run(BrowserController.java:2828)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at ch.cyberduck.ui.AbstractController$1.run(AbstractController.java:73)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
> at java.lang.Thread.run(Thread.java:680)
>
> Downloads work fine if the file does not already exist locally.
> This behavior exists since upgrading to v. 3.7.
> I have only tried FTP due to the fact that I don't use any other
> services.

New description:

 Using FTP, when trying to download a file which already exists locally, it
 fails without a message. The console log says:


 {{{
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]   2010-11-29
 22:45:44,808 [pool-1-thread-7] ERROR ch.cyberduck.ui.AbstractController -
 Excpetion running background task:null
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]
 java.lang.NullPointerException
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 ch.cyberduck.core.DownloadTransfer.filter(DownloadTransfer.java:308)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 ch.cyberduck.core.Transfer.transfer(Transfer.java:514)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 ch.cyberduck.core.Transfer.start(Transfer.java:632)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 ch.cyberduck.ui.cocoa.BrowserController$22.run(BrowserController.java:2828)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 ch.cyberduck.ui.AbstractController$1.run(AbstractController.java:73)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 29.11.10 22:45:44       [0x0-0x69069].ch.sudo.cyberduck[1768]           at
 java.lang.Thread.run(Thread.java:680)
 }}}


 Downloads work fine if the file does not already exist locally.
 This behavior exists since upgrading to v. 3.7.
 I have only tried FTP due to the fact that I don't use any other services.

--

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/5482#comment:1>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list