Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.3.0
-
None
-
None
Description
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)