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 01C1A10210 for ; Tue, 18 Feb 2014 19:06:25 +0000 (UTC) Received: (qmail 43262 invoked by uid 500); 18 Feb 2014 19:06:23 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 43167 invoked by uid 500); 18 Feb 2014 19:06:22 -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 43090 invoked by uid 99); 18 Feb 2014 19:06:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 19:06:21 +0000 Date: Tue, 18 Feb 2014 19:06:21 +0000 (UTC) From: "Ian Clelland (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=3D1390441= 7#comment-13904417 ]=20 Ian Clelland commented on CB-6050: ---------------------------------- Fran=C3=A7ois, there was a suggestion earlier from [~fireb86] that {{FileUt= ils.getFilePlugin()}} could be returning {{null}}. Can you tell if that is = the case? I think I can make some simple changes to fix it if that is happe= ning. Also, as [~agrieve] was asking, what arguments are you providing to {{downl= oad()}}? Knowing that might help us get to the root issue here. Thanks. > 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.1.5#6160)