java.lang.IndexOutOfBoundsException

Invalid index 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 web7487

  • via Appcelerator JIRA by Dawson Toth, 1 year ago
    Invalid index 0, size is 0
  • via GitHub by tmontanaro
    , 1 year ago
    Invalid index 0, size is 0
  • Invalid index 0, size is 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2566) at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2156) at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.java:10259) at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.java:10152) at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:10802) at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:10348) at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)

    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

    10 times, 8 months ago
    3 times, 1 month ago
    81 times, 1 month ago
    Once, 4 months ago
    4 times, 5 months ago
    241 more bugmates