java.lang.RuntimeException

Unable to start activity ComponentInfo{com.thesis.cutaneous.symptoms/com.thesis.cutaneous.symptoms.DiseaseList}: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3

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 web42451

  • Unable to start activity ComponentInfo{com.thesis.cutaneous.symptoms/com.thesis.cutaneous.symptoms.DiseaseList}: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
  • Unable to start activity ComponentInfo{com.example.quality.braintrainer/com.example.quality.braintrainer.MainActivity}: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
  • via Stack Overflow by connor murry
    , 1 year ago
    Unable to start activity ComponentInfo{com.spizer.mizer2/com.spizer.mizer2.DifficultyMenu}: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 2
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.thesis.cutaneous.symptoms/com.thesis.cutaneous.symptoms.DiseaseList}: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) at android.app.ActivityThread.access$800(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.thesis.cutaneous.symptoms.listAdapter.<init>(DiseaseList.java:67) at com.thesis.cutaneous.symptoms.DiseaseList.onCreate(DiseaseList.java:35) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)

    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

    Unknown user
    Once, 11 months ago
    3 times, 1 month ago
    81 times, 1 month ago
    Unknown user
    Once, 3 months ago
    4 times, 4 months ago
    241 more bugmates