java.lang.RuntimeException: Unable to resume activity {com.example.myapp/com.example.myapp.DetailsActivity}: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0

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

Solutions on the web

via Stack Overflow by Essare
, 1 year ago
Unable to resume activity {com.example.myapp/com.example.myapp.DetailsActivity}: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
via GitHub by anvesh523
, 1 year ago
Unable to resume activity {com.google.android.cameraview.demo/com.google.android.cameraview.demo.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
via GitHub by hkurokawa
, 1 year ago
Unable to resume activity {io.github.droidkaigi.confsched.develop.debug/io.github.droidkaigi.confsched.activity.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {io.github.droidkaigi.confsched.develop.debug/io.github.droidkaigi.confsched.activity.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via GitHub by dark159123
, 11 months ago
Unable to resume activity {com.phikal.regex/com.phikal.regex.Activities.GameActivity}: java.lang.IndexOutOfBoundsException: setSpan (5 ... 5) ends beyond length 0
via GitHub by Draffodx
, 1 year ago
Unable to resume activity {app/com.squareup.leakcanary.internal.DisplayLeakActivity}: java.lang.UnsupportedOperationException: Could not create leak directory /storage/emulated/0/Download/leakcanary-app
java.lang.RuntimeException: Unable to resume activity {com.example.myapp/com.example.myapp.DetailsActivity}: android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3137)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3168)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 11 months ago
3 times, 2 months ago
42 times, 7 months ago
6 times, 1 year ago
535 times, 1 year ago
77 more bugmates

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