cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6050) FileTransfer.download always return error 3
Date Tue, 11 Mar 2014 06:05:48 GMT

    [ https://issues.apache.org/jira/browse/CB-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13929991#comment-13929991
] 

ASF subversion and git services commented on CB-6050:
-----------------------------------------------------

Commit c35ca1a5c22298542f84e372a3f9ff6da914a05b in cordova-plugin-file-transfer's branch refs/heads/dev
from [~naika]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=c35ca1a ]

Upleveled from android port with following commits:
3c1ff16 Andrew Grieve - CB-5762 android: Fix lengthComputable set wrong for gzip downloads
8374b3d Colin Mahoney - CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
6f91ac3 Bas Bosman - CB-4907 Close stream when we're finished with it
651460f Christoph Neumann - CB-6000 Nginx rejects Content-Type without a space before "boundary".
35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin object to get FileEntry
to return on download


> FileTransfer.download always return error 3
> -------------------------------------------
>
>                 Key: CB-6050
>                 URL: https://issues.apache.org/jira/browse/CB-6050
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.3.0
>            Reporter: Fran├žois
>            Assignee: Ian Clelland
>            Priority: Critical
>
> When I try to download a file, it returns error 3. I've try the doc example and it's
not working. it give me this in logcat: 
> 02-17 12:09:42.225: E/FileTransfer(907): {"target":"\/sdcard\/testCordova\/file\/file.pdf","source":"http:\/\/www.w3.org\/2011\/web-apps-ws\/papers\/Nitobi.pdf","http_status":200,"code":3}
> 02-17 12:09:42.225: E/FileTransfer(907): java.lang.NullPointerException
> 02-17 12:09:42.225: E/FileTransfer(907): 	at org.apache.cordova.PluginResult.<init>(PluginResult.java:52)
> 02-17 12:09:42.225: E/FileTransfer(907): 	at org.apache.cordova.filetransfer.FileTransfer$4.run(FileTransfer.java:798)
> 02-17 12:09:42.225: E/FileTransfer(907): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
> 02-17 12:09:42.225: E/FileTransfer(907): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
> 02-17 12:09:42.225: E/FileTransfer(907): 	at java.lang.Thread.run(Thread.java:856)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message