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

Exception: java.lang.SecurityException: UID 10135 does not have permission to content #911

Open
Delphgateau opened this issue Apr 24, 2023 · 0 comments
Assignees
Labels

Comments

@Delphgateau
Copy link
Collaborator

Crisp : https://app.crisp.chat/website/6dacc68e-de3a-4511-8177-1339616098de/inbox/session_67659d9c-5026-4069-b50a-57a527ca0d07/

Exception: java.lang.SecurityException: UID 10135 does not have permission to content://com.android.providers.media.documents/document/image%3A114068 [user 0]; you could obtain access using ACTION_OPEN_DOCUMENT or related APIs
at android.os.Parcel.createException(Parcel.java:2090)
at android.os.Parcel.readException(Parcel.java:2058)
at android.os.Parcel.readException(Parcel.java:2006)
at android.app.IActivityTaskManager$Stub$Proxy.startActivity(IActivityTaskManager.java:3908)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1738)
at android.app.Activity.startActivityForResult(Activity.java:5412)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:2)
at android.app.Activity.startActivityForResult(Activity.java:5337)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:1)
at android.app.Activity.startActivity(Activity.java:5819)
at android.app.Activity.startActivity(Activity.java:5787)
at im.vector.app.core.utils.ExternalApplicationsUtilKt.safeStartActivity(ExternalApplicationsUtil.kt:6)
at im.vector.app.features.home.room.detail.TimelineFragment.openFile(TimelineFragment.kt:34)
at im.vector.app.features.home.room.detail.TimelineFragment.startOpenFileIntent(TimelineFragment.kt:17)
at im.vector.app.features.home.room.detail.TimelineFragment.access$startOpenFileIntent(TimelineFragment.kt:1)
at im.vector.app.features.home.room.detail.TimelineFragment$onViewCreated$14.invoke(TimelineFragment.kt:14)
at im.vector.app.features.home.room.detail.TimelineFragment$onViewCreated$14.invoke(TimelineFragment.kt:1)
at im.vector.app.core.platform.VectorBaseFragment$observeViewEvents$1$1$1.emit(VectorBaseFragment.kt:10)
at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:2)
at kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:1)
at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:24)
at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:1)
at im.vector.app.core.utils.SharedEventKt$filterNotHandledBy$$inlined$transform$1$1.emit(Emitters.kt:81)
at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit(Emitters.kt:90)
at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:200)
at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend(SharedFlow.kt:13)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:52)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:105)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:44)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:17)
at kotlinx.coroutines.flow.SharedFlowImpl.tryEmit(SharedFlow.kt:32)
at im.vector.app.core.utils.EventQueue.post(SharedEvent.kt:13)
at im.vector.app.features.home.room.detail.TimelineViewModel.handleOpenOrDownloadFile(TimelineViewModel.kt:66)
at im.vector.app.features.home.room.detail.TimelineViewModel.handle(TimelineViewModel.kt:14)
at im.vector.app.features.home.room.detail.TimelineFragment.onEventCellClicked(TimelineFragment.kt:56)
at im.vector.app.features.home.room.detail.timeline.helper.MessageItemAttributesFactory$create$2.invoke(MessageItemAttributesFactory.kt:2)
at im.vector.app.features.home.room.detail.timeline.helper.MessageItemAttributesFactory$create$2.invoke(MessageItemAttributesFactory.kt:1)
at im.vector.app.core.epoxy.ListenerKt$$ExternalSyntheticLambda0.onClick(R8$$SyntheticClass:11)
at im.vector.app.core.utils.DebouncedClickListener.onClick(DebouncedClickListener.kt:47)
at android.view.View.performClick(View.java:7317)
at android.view.View.performClickInternal(View.java:7291)
at android.view.View.access$3600(View.java:838)
at android.view.View$PerformClick.run(View.java:28247)
at android.os.Handler.handleCallback(Handler.java:900)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@92525df, Dispatchers.Main.immediate]
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.uri.UriGrantsManagerService.checkGrantUriPermission(UriGrantsManagerService.java:1202)
at com.android.server.uri.UriGrantsManagerService.checkGrantUriPermissionFromIntent(UriGrantsManagerService.java:605)
at com.android.server.uri.UriGrantsManagerService.grantUriPermissionFromIntent(UriGrantsManagerService.java:644)
at com.android.server.uri.UriGrantsManagerService$LocalService.grantUriPermissionFromIntent(UriGrantsManagerService.java:1428)
at com.android.server.wm.ActivityStarter.startActivityUnchecked(ActivityStarter.java:2298)
callee: null 1550/2310

User-Agent: "Tchap/2.8.0 (Android 10; Flavour GooglePlay; MatrixAndroidSdk2 1.5.26)"
Version: "2.8.0 [402080002] (G-c2011a29-2023-04-07 16:00:36 +0200)"
app_language: "fr_FR"
branch_name: "main"
can_contact: "false"
default_app_language: "fr_FR"
email: "undefined"
locale: "fr_FR"
matrix_sdk_version: "1.5.26 (c2011a2)"
multi_window: "OFF"
olm_version: "3.2.12 - olm version (3.2.11)
server_version: "undefined"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants