You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/02/13 17:13:19 UTC
[jira] [Commented] (CB-3185) Exception resolving a Dropbox file
from the Gallery
[ https://issues.apache.org/jira/browse/CB-3185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900455#comment-13900455 ]
Ian Clelland commented on CB-3185:
----------------------------------
The File changes are mostly covered by CB-5403. The new File plugin has been released as of last week (v1.0.0)
I'll try to see if I can reproduce this issue with the new version; I suspect that the same code may run into CB-5975 now, which I believe is caused by a change in Android 4.4 with respect to content provider URLs.
> Exception resolving a Dropbox file from the Gallery
> ---------------------------------------------------
>
> Key: CB-3185
> URL: https://issues.apache.org/jira/browse/CB-3185
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.6.0
> Reporter: Abel MuiƱo
> Assignee: Ian Clelland
>
> The following exception shows in the Logcat:
> {noformat}
> 04-19 10:56:08.360: W/System.err(7926): java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.dropbox.android/files/scratch/Camera%20Uploads/2012-09-09%2011.20.25.jpg: open failed: ENOENT (No such file or directory)
> 04-19 10:56:08.390: W/System.err(7926): at libcore.io.IoBridge.open(IoBridge.java:416)
> 04-19 10:56:08.390: W/System.err(7926): at java.io.FileInputStream.<init>(FileInputStream.java:78)
> 04-19 10:56:08.390: W/System.err(7926): at java.io.FileInputStream.<init>(FileInputStream.java:105)
> 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.FileHelper.getInputStreamFromUriString(FileHelper.java:98)
> 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.CameraLauncher.getScaledBitmap(CameraLauncher.java:582)
> 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.CameraLauncher.onActivityResult(CameraLauncher.java:411)
> 04-19 10:56:08.390: W/System.err(7926): at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864)
> 04-19 10:56:08.390: W/System.err(7926): at android.app.Activity.dispatchActivityResult(Activity.java:5293)
> 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.deliverResults(ActivityThread.java:3315)
> 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.handleSendResult(ActivityThread.java:3362)
> 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.access$1100(ActivityThread.java:141)
> 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1282)
> 04-19 10:56:08.390: W/System.err(7926): at android.os.Handler.dispatchMessage(Handler.java:99)
> 04-19 10:56:08.390: W/System.err(7926): at android.os.Looper.loop(Looper.java:137)
> 04-19 10:56:08.390: W/System.err(7926): at android.app.ActivityThread.main(ActivityThread.java:5041)
> 04-19 10:56:08.390: W/System.err(7926): at java.lang.reflect.Method.invokeNative(Native Method)
> 04-19 10:56:08.390: W/System.err(7926): at java.lang.reflect.Method.invoke(Method.java:511)
> 04-19 10:56:08.400: W/System.err(7926): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
> 04-19 10:56:08.400: W/System.err(7926): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
> 04-19 10:56:08.400: W/System.err(7926): at dalvik.system.NativeStart.main(Native Method)
> 04-19 10:56:08.400: W/System.err(7926): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
> 04-19 10:56:08.400: W/System.err(7926): at libcore.io.Posix.open(Native Method)
> 04-19 10:56:08.400: W/System.err(7926): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
> 04-19 10:56:08.400: W/System.err(7926): at libcore.io.IoBridge.open(IoBridge.java:400)
> 04-19 10:56:08.410: W/System.err(7926): ... 19 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)