You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/04/19 07:39:44 UTC

[GitHub] [cordova-plugin-camera] sithwarrior commented on issue #679: App crashes with RecoverableSecurityException after URI resolves to content://media/

sithwarrior commented on issue #679:
URL: https://github.com/apache/cordova-plugin-camera/issues/679#issuecomment-1102214127

   Any update on this? I see there is a PR [781](https://github.com/apache/cordova-plugin-camera/pull/781) 
   
   After updating to the latest version of the camera plugin, our Android Crashes and ANR in the Play Developer Console, shows a number of users experiencing this issue.
   
   `java.lang.RuntimeException: 
     at android.app.ActivityThread.deliverResults (ActivityThread.java:5579)
     at android.app.ActivityThread.handleSendResult (ActivityThread.java:5620)
     at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:51)
     at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
     at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
     at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2325)
     at android.os.Handler.dispatchMessage (Handler.java:106)
     at android.os.Looper.loop (Looper.java:246)
     at android.app.ActivityThread.main (ActivityThread.java:8633)
     at java.lang.reflect.Method.invoke (Native Method)
     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602)
     at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
   Caused by: android.app.RecoverableSecurityException: 
     at android.app.RecoverableSecurityException$1.createFromParcel (RecoverableSecurityException.java:197)
     at android.app.RecoverableSecurityException$1.createFromParcel (RecoverableSecurityException.java:194)
     at android.os.Parcel.readParcelable (Parcel.java:3293)
     at android.os.Parcel.createExceptionOrNull (Parcel.java:2380)
     at android.os.Parcel.createException (Parcel.java:2369)
     at android.os.Parcel.readException (Parcel.java:2352)
     at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:190)
     at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:142)
     at android.content.ContentProviderProxy.delete (ContentProviderNative.java:624)
     at android.content.ContentResolver.delete (ContentResolver.java:2299)
     at android.content.ContentResolver.delete (ContentResolver.java:2265)
     at org.apache.cordova.camera.CameraLauncher.checkForDuplicateImage (CameraLauncher.java:1242)
     at org.apache.cordova.camera.CameraLauncher.cleanup (CameraLauncher.java:1208)
     at org.apache.cordova.camera.CameraLauncher.processResultFromCamera (CameraLauncher.java:592)
     at org.apache.cordova.camera.CameraLauncher.onActivityResult (CameraLauncher.java:843)
     at org.apache.cordova.CordovaInterfaceImpl.onActivityResult (CordovaInterfaceImpl.java:160)
     at org.apache.cordova.CordovaActivity.onActivityResult (CordovaActivity.java:368)
     at android.app.Activity.dispatchActivityResult (Activity.java:8550)
     at android.app.ActivityThread.deliverResults (ActivityThread.java:5572)`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org