Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5C49E10F52 for ; Tue, 11 Mar 2014 06:06:07 +0000 (UTC) Received: (qmail 7972 invoked by uid 500); 11 Mar 2014 06:06:07 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 7813 invoked by uid 500); 11 Mar 2014 06:06:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 6768 invoked by uid 99); 11 Mar 2014 06:05:56 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2014 06:05:56 +0000 Date: Tue, 11 Mar 2014 06:05:56 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-6050) FileTransfer.download always return error 3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-6050?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1392999= 6#comment-13929996 ]=20 ASF subversion and git services commented on CB-6050: ----------------------------------------------------- Commit 05786ec2ecf24a9244d43a88dce4c645eb0059b4 in cordova-plugin-file-tran= sfer's branch refs/heads/master from [~naika] [ https://git-wip-us.apache.org/repos/asf?p=3Dcordova-plugin-file-transfer.= git;h=3D05786ec ] 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 sp= ace before "boundary". 35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin o= bject 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=C3=A7ois > Assignee: Ian Clelland > Priority: Critical > > When I try to download a file, it returns error 3. I've try the doc examp= le and it's not working. it give me this in logcat:=20 > 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): =09at org.apache.cordova.PluginR= esult.(PluginResult.java:52) > 02-17 12:09:42.225: E/FileTransfer(907): =09at org.apache.cordova.filetra= nsfer.FileTransfer$4.run(FileTransfer.java:798) > 02-17 12:09:42.225: E/FileTransfer(907): =09at java.util.concurrent.Threa= dPoolExecutor.runWorker(ThreadPoolExecutor.java:1076) > 02-17 12:09:42.225: E/FileTransfer(907): =09at java.util.concurrent.Threa= dPoolExecutor$Worker.run(ThreadPoolExecutor.java:569) > 02-17 12:09:42.225: E/FileTransfer(907): =09at java.lang.Thread.run(Threa= d.java:856) -- This message was sent by Atlassian JIRA (v6.2#6252)