You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2015/10/30 17:50:28 UTC

[jira] [Resolved] (CB-6750) FileTransfer Download null errors

     [ https://issues.apache.org/jira/browse/CB-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shakhnazarov resolved CB-6750.
-------------------------------------
    Resolution: Duplicate

> FileTransfer Download null errors 
> ----------------------------------
>
>                 Key: CB-6750
>                 URL: https://issues.apache.org/jira/browse/CB-6750
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>    Affects Versions: 3.4.0
>         Environment: iOS
>            Reporter: Daniel Roizman
>
> FileTransfer download is erroring on it's 'win' function.  The result being passed in is null on line 170.  The 'win' function is called multiple times with incremental progress, but on the final call, it is passed null instead of proper result.
> So the file is there and fine, but my callback is not triggered because the 'win' function is erroring.
> [Error] TypeError: 'null' is not an object (evaluating 'result.lengthComputable')
> 	win (FileTransfer.js, line 172)
> 	callbackFromNative (cordova.js, line 292)
> 	(anonymous function) (cordova.js, line 1046)
> 	nativeEvalAndFetch (cordova.js, line 1054)
> 	nativeCallback (cordova.js, line 1043)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org