java.lang.RuntimeException

Unable to pause activity {org.dayup.gtask/org.dayup.gtask.activity.TaskActivity}: 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 web42387

Solution icon of web
via xda-developers.com by Unknown author, 7 months ago
Unable to pause activity {org.dayup.gtask/org.dayup.gtask.activity.TaskActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to pause activity {com.iheanyiekechukwu.tubalr/com.iheanyiekechukwu.tubalr.PlaylistActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to pause activity {com.iheanyiekechukwu.tubalr/com.iheanyiekechukwu.tubalr.PlaylistActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to pause activity {com.ferg.awfulapp/com.ferg.awfulapp.ForumsIndexActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to pause activity {com.iheanyiekechukwu.tubalr/com.iheanyiekechukwu.tubalr.PlaylistActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of stackoverflow
Unable to pause activity {com.example.project/com.example.project.InternetActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

Solution icon of github
Unable to start activity ComponentInfo{org.digitalcampus.mobile.learning/org.digitalcampus.mobile.learning.activity.ModuleActivity}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

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

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

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

Stack trace

  • 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

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

6 times, 1 year ago
2 times, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 times, 2 months ago
244 more bugmates