JohnCastle4 commented on issue #679:
URL:
https://github.com/apache/cordova-plugin-camera/issues/679#issuecomment-2358157717
We are using 7.0.0. In the Google Play Store logs we two variations of this
error:
Exception java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:6020)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:6059)
at android.app.servertransaction.ActivityResultItem.execute
(ActivityResultItem.java:67)
at android.app.servertransaction.ActivityTransactionItem.execute
(ActivityTransactionItem.java:45)
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:2584)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:226)
at android.os.Looper.loop (Looper.java:313)
at android.app.ActivityThread.main (ActivityThread.java:8810)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run
(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
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.readParcelableInternal (Parcel.java:4787)
at android.os.Parcel.readParcelable (Parcel.java:4755)
at android.os.Parcel.createExceptionOrNull (Parcel.java:3018)
at android.os.Parcel.createException (Parcel.java:3007)
at android.os.Parcel.readException (Parcel.java:2990)
at android.database.DatabaseUtils.readExceptionFromParcel
(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionFromParcel
(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.delete
(ContentProviderNative.java:629)
at android.content.ContentResolver.delete (ContentResolver.java:2340)
at android.content.ContentResolver.delete (ContentResolver.java:2306)
at org.apache.cordova.camera.CameraLauncher.checkForDuplicateImage
(CameraLauncher.java:1287)
at org.apache.cordova.camera.CameraLauncher.cleanup
(CameraLauncher.java:1253)
at org.apache.cordova.camera.CameraLauncher.processResultFromCamera
(CameraLauncher.java:637)
at org.apache.cordova.camera.CameraLauncher.onActivityResult
(CameraLauncher.java:888)
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:9017)
at android.app.ActivityThread.deliverResults (ActivityThread.java:6013)
And:
Exception java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:6063)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:6102)
at android.app.servertransaction.ActivityResultItem.execute
(ActivityResultItem.java:67)
at android.app.servertransaction.ActivityTransactionItem.execute
(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks
(TransactionExecutor.java:139)
at android.app.servertransaction.TransactionExecutor.execute
(TransactionExecutor.java:96)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2685)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8919)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run
(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
Caused by java.lang.SecurityException:
at android.os.Parcel.createExceptionOrNull (Parcel.java:3069)
at android.os.Parcel.createException (Parcel.java:3053)
at android.os.Parcel.readException (Parcel.java:3036)
at android.database.DatabaseUtils.readExceptionFromParcel
(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionFromParcel
(DatabaseUtils.java:142)
at android.content.ContentProviderProxy.delete
(ContentProviderNative.java:661)
at android.content.ContentResolver.delete (ContentResolver.java:2349)
at android.content.ContentResolver.delete (ContentResolver.java:2315)
at org.apache.cordova.camera.CameraLauncher.checkForDuplicateImage
(CameraLauncher.java:1277)
at org.apache.cordova.camera.CameraLauncher.cleanup
(CameraLauncher.java:1242)
at org.apache.cordova.camera.CameraLauncher.processResultFromCamera
(CameraLauncher.java:626)
at org.apache.cordova.camera.CameraLauncher.onActivityResult
(CameraLauncher.java:877)
at org.apache.cordova.CordovaInterfaceImpl.onActivityResult
(CordovaInterfaceImpl.java:160)
at org.apache.cordova.CordovaActivity.onActivityResult
(CordovaActivity.java:375)
at android.app.Activity.dispatchActivityResult (Activity.java:9362)
at android.app.ActivityThread.deliverResults (ActivityThread.java:6056)
I can't reproduce on our devices, but our customers can according to the
crash logs.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]