java.lang.RuntimeException: An error occurred while executing doInBackground()

Stack Overflow | Patzu | 4 months ago
  1. 0

    simple smack android client not working?

    Stack Overflow | 4 months ago | Patzu
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0
    samebug tip
    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

    GitHub comment 73#243768635

    GitHub | 5 months ago | Blystad
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crashes on Nougat

    GitHub | 2 months ago | lenniea
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  6. 0

    Fatal exception error

    Stack Overflow | 3 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()
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.providers.contacts.ContactsProvider2 from ProcessRecord{68c245f 13332:com.mycompany.chat/u0a71} (pid=13332, uid=10071) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS

    at android.os.Parcel.readException()
  2. Android Platform
    ContentResolver.query
    1. android.os.Parcel.readException(Parcel.java:1683)
    2. android.os.Parcel.readException(Parcel.java:1636)
    3. android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:4169)
    4. android.app.ActivityThread.acquireProvider(ActivityThread.java:5434)
    5. android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2267)
    6. android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1515)
    7. android.content.ContentResolver.query(ContentResolver.java:514)
    8. android.content.ContentResolver.query(ContentResolver.java:472)
    8 frames
  3. com.mycompany.chat
    FriendsActivity$GetUser.doInBackground
    1. com.mycompany.chat.ui.FriendsActivity$GetUser.doInBackground(FriendsActivity.java:67)
    2. com.mycompany.chat.ui.FriendsActivity$GetUser.doInBackground(FriendsActivity.java:54)
    2 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:304)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame