java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

GitHub | alexlittle | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    IndexOutOfBoundsException

    GitHub | 5 years ago | mattjohnpowell
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  2. 0

    High: Getting an odd crash

    GitHub | 2 years ago | Ckozoh
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crash when tapping the dropdown action bar when tag list is still empty

    GitHub | 3 years ago | maxme
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
  5. 0

    IndexOutOfBoundsException Crashing

    GitHub | 4 years ago | bdonahue
    java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
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.IndexOutOfBoundsException

    Invalid index 0, size is 0

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
    2. java.util.ArrayList.get(ArrayList.java:304)
    2 frames
  3. org.digitalcampus.mquiz
    MQuiz.getCurrentQuestion
    1. org.digitalcampus.mquiz.MQuiz.getCurrentQuestion(MQuiz.java:264)
    1 frame
  4. org.digitalcampus.mobile
    ModuleActivity.onStart
    1. org.digitalcampus.mobile.learning.widgets.MQuizWidget.showQuestion(MQuizWidget.java:121)
    2. org.digitalcampus.mobile.learning.widgets.MQuizWidget.startQuiz(MQuizWidget.java:117)
    3. org.digitalcampus.mobile.learning.widgets.MQuizWidget.<init>(MQuizWidget.java:88)
    4. org.digitalcampus.mobile.learning.activity.ModuleActivity.loadActivity(ModuleActivity.java:264)
    5. org.digitalcampus.mobile.learning.activity.ModuleActivity.onStart(ModuleActivity.java:145)
    5 frames
  5. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1178)
    2. android.app.Activity.performStart(Activity.java:5216)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2083)
    3 frames