java.lang.RuntimeException: Unable to start activity ComponentInfo{com.horaapps.leafpic/com.horaapps.leafpic.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by squiggie
, 1 year ago
Unable to start activity ComponentInfo{com.horaapps.leafpic/com.horaapps.leafpic.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via Stack Overflow by Akshay Sharma
, 1 year ago
Unable to start activity ComponentInfo{com.digital.thefearstuff.tfsmusicplayer/com.digital.thefearstuff.tfsmusicplayer.NowPlaying}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via Stack Overflow by user5927302
, 1 year ago
Unable to start activity ComponentInfo{com.example.mark.test2/com.example.mark.test2.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via codecanyon.net by Unknown author, 1 year ago
Unable to start activity ComponentInfo{app.wt.noolis/app.wt.noolis.ActivityCategoryEdit}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via Stack Overflow by John Dough
, 1 year ago
Unable to start activity ComponentInfo{com.fluffyclouds.satroots/com.fluffyclouds.satroots.AfterSessionActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
via Stack Overflow by user233531
, 2 years ago
Unable to start activity ComponentInfo{com.joudi.myapplication/com.joudi.myapplication.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.horaapps.leafpic/com.horaapps.leafpic.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 1 year ago
114 times, 1 year ago
16 times, 11 months ago
33 times, 1 month ago

Write tip

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