java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/98657 (has extras) }} to activity {com.vhiefa.simplecrud/com.vhiefa.simplecrud.CreateActivityIGD}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/98657 from pid=15920, uid=10272 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this https://goo.gl/nXsTvH for more information about it.

,
via android.com by Unknown author

You need to request MANAGE_USERS permissions before using of this method.

Solutions on the web

via simplifiedcoding.net by Unknown author, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/98657 (has extras) }} to activity {com.vhiefa.simplecrud/com.vhiefa.simplecrud.CreateActivityIGD
via Stack Overflow by sipdorus
, 2 years ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/1909 (has extras) }} to activity {com.turk.bakistik/com.turk.bakistik.Profilresimyukle}: java.lang.SecurityException
via viralpatel.net by Unknown author, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/676 (has extras) }} to activity {net.viralpatel.android.imagegalleray
via Stack Overflow by Reena
, 2 years ago
Failure delivering result ResultInfo{who=null, request=2, result=-1, data=Intent { dat=content://media/external/images/media/3984 (has extras) }} to activity {com.scispl.cloudacar/com.scispl.cloudacar.front_end_layer.controller.user_profile.CACProfileActivity}: java.lang.NullPointerException
via Stack Overflow by noobie-php
, 2 years ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/1412 (has extras) }} to activity {com.almaarijsoft.kanvas/com.almaarijsoft.kanvas.Activities.ProfileActivity}: java.lang.NullPointerException
via Stack Overflow by Eggy Sudianto
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/12513 (has extras) }} to activity {com.emergency.e_place/com.emergency.e_place.WC_Activity}: java.lang.NullPointerException
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/98657 (has extras) }} to activity {com.vhiefa.simplecrud/com.vhiefa.simplecrud.CreateActivityIGD}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/98657 from pid=15920, uid=10272 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
at android.os.Parcel.readException(Parcel.java:1465)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:682)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1073)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:913)
at android.content.ContentResolver.openInputStream(ContentResolver.java:638)
at com.vhiefa.simplecrud.CreateActivityIGD.onActivityResult(CreateActivityIGD.java:173)
at android.app.Activity.dispatchActivityResult(Activity.java:5734)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3696)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3743)
at android.app.ActivityThread.access$1400(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5653)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 hours ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
2 times, 2 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.