java.lang.RuntimeException

Unable to start activity ComponentInfo{com.tmm.android.chuck/com.tmm.android.chuck.QuestionActivity}: java.lang.IndexOutOfBoundsException: Invalid location 0, size is 0


Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web43549

Solution icon of web
Unable to start activity ComponentInfo{com.tmm.android.chuck/com.tmm.android.chuck.QuestionActivity}: java.lang.IndexOutOfBoundsException: Invalid location 0, size is 0

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.tmm.android.chuck/com.tmm.android.chuck.QuestionActivity}: java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1

Solution icon of github
Unable to start activity ComponentInfo{de.fhdw.ergoholics.brainphaser/de.fhdw.ergoholics.brainphaser.activities.Challenge.ChallengeActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to start activity ComponentInfo{com.eteach.sol/com.eteach.sol.DemoFilePlay}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to start activity ComponentInfo{org.evilsoft.pathfinder.reference/org.evilsoft.pathfinder.reference.DetailsActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to start activity ComponentInfo{com.nextcloud.android.beta/com.owncloud.android.ui.activity.ReceiveExternalFilesActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of appcelerator
via Appcelerator JIRA by Dawson Toth, 1 year ago
Unable to start activity ComponentInfo{com.navtrak.navtrakmobile/com.navtrak.navtrakmobile.NavtrakActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of appcelerator
via Appcelerator JIRA by Dawson Toth, 1 year ago
Unable to start activity ComponentInfo{com.navtrak.navtrakmobile/com.navtrak.navtrakmobile.NavtrakActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.kodspider.parkon/com.kodspider.parkon.CompassActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of stackoverflow
via Stack Overflow by Sonali
, 1 year ago
Unable to start activity ComponentInfo{com.androidhive.musicplayer/com.androidhive.musicplayer.Music}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tmm.android.chuck/com.tmm.android.chuck.QuestionActivity}: java.lang.IndexOutOfBoundsException: Invalid location 0, size is 0 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512) at android.app.ActivityThread.access$2200(ActivityThread.java:119) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4363) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IndexOutOfBoundsException: Invalid location 0, size is 0 at java.util.ArrayList.get(ArrayList.java:341) at com.tmm.android.chuck.quiz.GamePlay.getNextQuestion(GamePlay.java:112) at com.tmm.android.chuck.QuestionActivity.onCreate(QuestionActivity.java:39) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459) ... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 18 hours ago
2 times, 1 week ago
3 times, 1 week ago
2 times, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
230 more bugmates