java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Random Crash during stress
    via GitHub by versabane
    ,
  • Magic Map Crash
    via GitHub by SixOnTheBeach
    ,
    • java.lang.RuntimeException: Unable to resume activity {AppName.Activities/AppName.Activities.ViewPagerActivity}: java.lang.IndexOutOfBoundsException: Invalid index 2, size is 0 at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2120) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:957) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3683) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IndexOutOfBoundsException: Invalid index 2, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257) at java.util.ArrayList.set(ArrayList.java:484) at android.support.v4.app.FragmentStatePagerAdapter.destroyItem(FragmentStatePagerAdapter.java:97) at android.support.v4.view.ViewPager.populate(ViewPager.java:415) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:271) at android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:244) at AppName.Activities.ViewPagerActivity.setUpView(ViewPagerActivity.java:36) at AppName.Activities.ViewPagerActivity.onStart(ViewPagerActivity.java:28) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1129) at android.app.Activity.performStart(Activity.java:3791) at android.app.Activity.performRestart(Activity.java:3821) at android.app.Activity.performResume(Activity.java:3826) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2110)

    Users with the same issue

    poroszdporoszd
    1 times, last one,
    tyson925tyson925
    4 times, last one,
    chenjunjunchenjunjun
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    harshgharshg
    1 times, last one,
    89 more bugmates