java.lang.RuntimeException: Unable to start activity ComponentInfo{com.company.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{43247db0 14012:com.company/u0a370} (pid=14012, uid=10370) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS

Stack Overflow | abdel | 4 months ago
  1. 0

    Read video file name

    Stack Overflow | 4 months ago | abdel
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.company.MainActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{43247db0 14012:com.company/u0a370} (pid=14012, uid=10370) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
  2. 0

    Fatal exception error

    Stack Overflow | 2 years ago | user2850116
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/audio/media from pid=1071, uid=10066 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  3. 0

    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/40763 from pid=18326, uid=10114 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

    GitHub | 2 years ago | agwells
    java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/40763 from pid=18326, uid=10114 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class not working, Error occured?

    Stack Overflow | 4 years ago | Hari
    java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/contacts from pid=392, uid=10028 requires android.permission.READ_CONTACTS
  6. 0

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

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

  1. Alexandru Popa 2 times, last 2 weeks ago
  2. malhobayyeb 16 times, last 1 week ago
  3. Aria Pahlavan 162 times, last 7 days ago
  4. iridic 2 times, last 3 weeks ago
  5. VeryRedChris 1 times, last 3 weeks ago
38 more registered users
20 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: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{43247db0 14012:com.company/u0a370} (pid=14012, uid=10370) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS

    at android.os.Parcel.readException()
  2. Android Platform
    ContentResolver.query
    1. android.os.Parcel.readException(Parcel.java:1472)
    2. android.os.Parcel.readException(Parcel.java:1426)
    3. android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3039)
    4. android.app.ActivityThread.acquireProvider(ActivityThread.java:4660)
    5. android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2347)
    6. android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1425)
    7. android.content.ContentResolver.query(ContentResolver.java:445)
    8. android.content.ContentResolver.query(ContentResolver.java:404)
    8 frames
  3. com.company.Utils
    Utilities.getFileName
    1. com.company.Utils.Utilities.getFileName(Utilities.java:104)
    1 frame
  4. com.company
    MainActivity.onCreate
    1. com.company.MainActivity.onCreate(MainActivity.java:115)
    1 frame
  5. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5296)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2283)
    3 frames