Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3185

Exception resolving a Dropbox file from the Gallery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • None
    • cordova-android
    • None

    Description

      The following exception shows in the Logcat:

       
          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
      

      Attachments

        Activity

          People

            iclelland Ian Clelland
            amuino Abel MuiƱo
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: