java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1234, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:1404 flg=0x1 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }} to activity {damasoft.manumikychat/damasoft.manumikychat.Page1}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=7522, uid=10134 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

Stack Overflow | Elia D'Amato | 6 months ago
  1. 0

    Android Permissions Error with FileChooserDialog with the file type picture

    Stack Overflow | 6 months ago | Elia D'Amato
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1234, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:1404 flg=0x1 VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} }} to activity {damasoft.manumikychat/damasoft.manumikychat.Page1}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=7522, uid=10134 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  2. 0
    You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest
  3. 0

    Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.get(java.lang.Object)' on a null object reference

    Stack Overflow | 9 months ago | Naqib Shayea Qazizadah
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=20549, uid=10143 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Uploading from SD card does not work with API 23+ permissions

    GitHub | 8 months ago | domdomegg
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=962, uid=10319 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  6. 0

    App crashes when accesing gallery and camera images

    Stack Overflow | 2 weeks ago | jijo
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=22131, result=-1, data=Intent { dat=content://com.android.providers.media.documents/document/image:33233 flg=0x1 }} to activity {com.example.jijoabraham.informe/com.example.jijoabraham.informe.Sales}: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=2525, uid=10347 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
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 from pid=7522, uid=10134 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

    at android.os.Parcel.readException()
  2. Android Platform
    ContentResolver.query
    1. android.os.Parcel.readException(Parcel.java:1620)
    2. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
    3. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
    4. android.content.ContentProviderProxy.query(ContentProviderNative.java:421)
    5. android.content.ContentResolver.query(ContentResolver.java:502)
    6. android.content.ContentResolver.query(ContentResolver.java:445)
    6 frames
  3. com.ipaulpro.afilechooser
    FileUtils.getPath
    1. com.ipaulpro.afilechooser.utils.FileUtils.getDataColumn(FileUtils.java:228)
    2. com.ipaulpro.afilechooser.utils.FileUtils.getPath(FileUtils.java:322)
    2 frames
  4. damasoft.manumikychat
    Page1.onActivityResult
    1. damasoft.manumikychat.Page1.onActivityResult(Page1.java:253)
    1 frame
  5. Android Platform
    ActivityThread.deliverResults
    1. android.app.Activity.dispatchActivityResult(Activity.java:7138)
    2. android.app.ActivityThread.deliverResults(ActivityThread.java:4922)
    2 frames