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

java.lang.SecurityException #154

Open
Mycodingdad108 opened this issue Feb 5, 2024 · 2 comments
Open

java.lang.SecurityException #154

Mycodingdad108 opened this issue Feb 5, 2024 · 2 comments

Comments

@Mycodingdad108
Copy link

io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.openInputStream

this error happaning to every userrr whatt sshould i do

Exception java.lang.SecurityException:
at android.os.Parcel.createExceptionOrNull (Parcel.java:3023)
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.readExceptionWithFileNotFoundExceptionFromParcel (DatabaseUtils.java:153)
at android.content.ContentProviderProxy.openTypedAssetFile (ContentProviderNative.java:780)
at android.content.ContentResolver.openTypedAssetFileDescriptor (ContentResolver.java:2034)
at android.content.ContentResolver.openAssetFileDescriptor (ContentResolver.java:1849)
at android.content.ContentResolver.openInputStream (ContentResolver.java:1525)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.openInputStream (DocumentFileApi.java)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.readDocumentContent (DocumentFileApi.java)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.access$readDocumentContent (DocumentFileApi.java)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi$onMethodCall$1.invokeSuspend (DocumentFileApi.java)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java)
at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.java)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.java)
at kotlinx.coroutines.scheduling.TaskImpl.run (TaskImpl.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.java)

@Mycodingdad108
Copy link
Author

andd another is

java.lang.IllegalArgumentException

Exception java.lang.IllegalArgumentException:
at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:172)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel (DatabaseUtils.java:153)
at android.content.ContentProviderProxy.openTypedAssetFile (ContentProviderNative.java:780)
at android.content.ContentResolver.openTypedAssetFileDescriptor (ContentResolver.java:2053)
at android.content.ContentResolver.openAssetFileDescriptor (ContentResolver.java:1868)
at android.content.ContentResolver.openInputStream (ContentResolver.java:1544)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.openInputStream (DocumentFileApi.java)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.readDocumentContent (DocumentFileApi.java)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi.access$readDocumentContent (DocumentFileApi.java)
at io.alexrintt.sharedstorage.storageaccessframework.DocumentFileApi$onMethodCall$1.invokeSuspend (DocumentFileApi.java)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (BaseContinuationImpl.java)
at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.java)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run (LimitedDispatcher.java)
at kotlinx.coroutines.scheduling.TaskImpl.run (TaskImpl.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely (CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask (CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker (CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run (CoroutineScheduler.java)

@Mycodingdad108
Copy link
Author

Fatal Exception: java.lang.SecurityException
Document primary:Android/media/com.whatsapp/WhatsApp/Media/.Statuses/5fffb73ce519452ea4142c86c6e7e82f.jpg is not a descendant of primary:Android/media

tthis iss what i get in firebase crash

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

No branches or pull requests

1 participant