java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1

GitHub | nickylin | 1 month ago
  1. 0

    Array Index out of bound when Scrolling list view fast while updating data from server

    Stack Overflow | 1 year ago | Android
    java.lang.IndexOutOfBoundsException: Invalid index 5, size is 0
  2. 0

    Invalid index 3, size is 0 in Android

    Stack Overflow | 2 years ago | Akhil Yeleswarapu
    java.lang.IndexOutOfBoundsException: Invalid index 2, size is 0
  3. 0

    Array size 0 in adapter > 0 in MainActivity?

    Stack Overflow | 3 years ago | End.Game
    java.lang.IndexOutOfBoundsException: Invalid index 33, size is 33
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android App crashes after Scrolling down ListView

    Stack Overflow | 3 years ago | Copernic
    java.lang.NullPointerException

  1. eti22 1 times, last 3 days ago
  2. Hronom 4 times, last 7 days ago
  3. DoktorDoener666 2 times, last 1 week ago
  4. Indri Yunita 2 times, last 2 weeks ago
  5. MoYapro 3 times, last 2 weeks ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Invalid index 1, size is 1

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.get(ArrayList.java:308)
    2 frames
  3. Android Platform
    ActivityThread.main
    1. android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:225)
    2. android.widget.AbsListView.obtainView(AbsListView.java:2391)
    3. android.widget.ListView.makeAndAddView(ListView.java:1932)
    4. android.widget.ListView.fillDown(ListView.java:760)
    5. android.widget.ListView.fillGap(ListView.java:701)
    6. android.widget.AbsListView.trackMotionScroll(AbsListView.java:5648)
    7. android.widget.AbsListView$FlingRunnable.run(AbsListView.java:4642)
    8. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
    9. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    10. android.view.Choreographer.doFrame(Choreographer.java:543)
    11. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
    12. android.os.Handler.handleCallback(Handler.java:733)
    13. android.os.Handler.dispatchMessage(Handler.java:95)
    14. android.os.Looper.loop(Looper.java:136)
    15. android.app.ActivityThread.main(ActivityThread.java:5114)
    15 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  5. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
    2 frames
  6. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame