java.lang.RuntimeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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.


rafaelrafael

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

  • IndexOutOfBoundsException
    via GitHub by mattjohnpowell
    ,
  • High: Getting an odd crash
    via GitHub by Ckozoh
    ,
  • Crash when logging
    via GitHub by koem
    ,
    • java.lang.RuntimeException: Unable to pause activity {org.dayup.gtask/org.dayup.gtask.activity.TaskActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2717) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2673) at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2651) at android.app.ActivityThread.access$800(ActivityThread.java:127) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1165) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4517) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:985) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:752) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) at java.util.ArrayList.get(ArrayList.java:304) at org.dayup.gtask.activity.cc.a(TaskEditorViewFragment.java:1463) at org.dayup.gtask.activity.TaskEditorViewFragment.onPause(TaskEditorViewFragment.java:421) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:932) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1080) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062) at android.support.v4.app.FragmentManagerImpl.dispatchPause(FragmentManager.java:1824) at android.support.v4.app.FragmentActivity.onPause(FragmentActivity.java:391) at com.actionbarsherlock.app.SherlockFragmentActivity.onPause(SherlockFragmentActivity.java:79) at org.dayup.activities.CommonActivity.onPause(CommonActivity.java:167) at org.dayup.gtask.activity.TaskActivity.onPause(TaskActivity.java:215) at android.app.Activity.performPause(Activity.java:4568) at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1198) at android.app.ActivityThread.performPauseActivity(ActivityThread.java:2704) ... 12 more

    Users with the same issue

    MacaponMacapon
    6 times, last one,
    szosziszoszi
    2 times, last one,
    LartenLarten
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    winer222winer222
    3 times, last one,
    237 more bugmates