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

Iron Bone closed CB-12437.
--------------------------
    Resolution: Fixed

As I can see in the source, this is not an exception trowed. 
This is just the whole info about the exception printed to the log.


> FileTransfer throws native Exception. Android 4.4.2 
> ----------------------------------------------------
>
>                 Key: CB-12437
>                 URL: https://issues.apache.org/jira/browse/CB-12437
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File Transfer
>         Environment: Android 4.4.2 
>            Reporter: Iron Bone
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> When downloading non existing file, and when the server returns
> "http_status": 404
> this plugin throws the following native exception:
> 02-08 12:51:13.231: E/FileTransfer(27870): java.io.FileNotFoundException: 
> http://myServerAddres/files/photo/92932ce7-9f0a-4d27-a266-9d73eb02a464/square_image.jpg
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:186)
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> org.apache.cordova.filetransfer.FileTransfer.getInputStream(FileTransfer.java:592)
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> org.apache.cordova.filetransfer.FileTransfer.access$500(FileTransfer.java:69)
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> org.apache.cordova.filetransfer.FileTransfer$4.run(FileTransfer.java:882)
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> 02-08 12:51:13.231: E/FileTransfer(27870):    at 
> java.lang.Thread.run(Thread.java:841)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to