Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constant crash after selecting an image #672

Closed
idontveapc opened this issue Jan 18, 2024 · 1 comment
Closed

constant crash after selecting an image #672

idontveapc opened this issue Jan 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@idontveapc
Copy link

idontveapc commented Jan 18, 2024

Describe the bug
as i select any image the app crashes and produces this error:

Error Log ``[Bug] App Crash: RuntimeException``

Device: RMX3231 (realme - RMX3231), SDK: 30 (11), App: 2.6.0-alpha02 (108)

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=502802261, result=-1, data=Intent { flg=0x1 clip={image/* video/* {...}} }} to activity {ru.tech.imageresizershrinker/ru.tech.imageresizershrinker.presentation.MainActivity}: java.lang.SecurityException: No persistable permission grants found for UID 11084 and Uri content://media/external/file/78925 at android.app.ActivityThread.deliverResults(ActivityThread.java:5142) at android.app.ActivityThread.handleSendResult(ActivityThread.java:5183) 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:2108) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7948) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:603) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) Caused by: java.lang.SecurityException: No persistable permission grants found for UID 11084 and Uri content://media/external/file/78925 at android.os.Parcel.createExceptionOrNull(Parcel.java:2374) at android.os.Parcel.createException(Parcel.java:2358) at android.os.Parcel.readException(Parcel.java:2341) at android.os.Parcel.readException(Parcel.java:2283) at android.app.IUriGrantsManager$Stub$Proxy.takePersistableUriPermission(IUriGrantsManager.java:311) at android.content.ContentResolver.takePersistableUriPermission(ContentResolver.java:2853) at lg.h.m(SourceFile:44) at lg.g.m(SourceFile:19) at a.b.d(SourceFile:120) at androidx.activity.result.g.a(SourceFile:45) at androidx.activity.n.onActivityResult(Unknown Source:2) at androidx.fragment.app.v.onActivityResult(Unknown Source:5) at android.app.Activity.dispatchActivityResult(Activity.java:8392) at android.app.ActivityThread.deliverResults(ActivityThread.java:5135) ... 11 more Caused by: android.os.RemoteException: Remote stack trace: at com.android.server.uri.UriGrantsManagerService.takePersistableUriPermission(UriGrantsManagerService.java:376) at android.app.IUriGrantsManager$Stub.onTransact(IUriGrantsManager.java:147) at android.os.Binder.execTransactInternal(Binder.java:1154) at android.os.Binder.execTransact(Binder.java:1123)

To Reproduce
on latest beta; select an image and get hot-baked crash

Expected behavior
!!? crash

Screenshots

Smartphone (please complete the following information):

  • Device: See the log
  • OS: Android 11 Go(32-bit)
@idontveapc idontveapc added the bug Something isn't working label Jan 18, 2024
@T8RIN
Copy link
Owner

T8RIN commented Jan 18, 2024

Yup, alpha bug :( #669

T8RIN added a commit that referenced this issue Jan 18, 2024
@T8RIN T8RIN closed this as completed Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants