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()

simplifiedcoding.net | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Volley Tutorial to Upload Image to Server

    simplifiedcoding.net | 9 months ago
    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()
  2. 0

    Music Player asking for Write External Storage Permission?

    Stack Overflow | 1 year ago | Vivek Mishra
    java.lang.SecurityException: External path: /storage/emulated/0/Android/data/com.android.providers.media/albumthumbs/1460104607336: Neither user 10294 nor current process has android.permission.WRITE_EXTERNAL_STORAGE.
  3. 0

    SecurityException reading picture from Android gallery

    Stack Overflow | 6 months ago | Luiz Alves
    java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{9922e7c 4160:net.techabout.medappointment/u0a105} (pid=4160, uid=10105) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SecurityException: Permission Denial API 19

    Stack Overflow | 3 months ago | sayres kabir
    java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{5296e638 3865:com.example.sayres.myapplication7/u0a98} (pid=3865, uid=10098) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
  6. 0

    Can't load bitmap photo from Uri sent by intent to choose image from gallery

    Stack Overflow | 1 month ago | lcukerd
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/78476 from pid=3693, uid=10246 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Android Platform
      MediaStore$Images$Media.getBitmap
      1. android.os.Parcel.readException(Parcel.java:1465)
      2. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:185)
      3. android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:148)
      4. android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:682)
      5. android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1073)
      6. android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:913)
      7. android.content.ContentResolver.openInputStream(ContentResolver.java:638)
      8. android.provider.MediaStore$Images$Media.getBitmap(MediaStore.java:846)
      8 frames
    3. com.vhiefa.simplecrud
      CreateActivityIGD.onActivityResult
      1. com.vhiefa.simplecrud.CreateActivityIGD.onActivityResult(CreateActivityIGD.java:173)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:5734)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:3696)
      3. android.app.ActivityThread.handleSendResult(ActivityThread.java:3743)
      4. android.app.ActivityThread.access$1400(ActivityThread.java:172)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
      6. android.os.Handler.dispatchMessage(Handler.java:102)
      7. android.os.Looper.loop(Looper.java:146)
      8. android.app.ActivityThread.main(ActivityThread.java:5653)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame