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

Stack Overflow | Kmh54 | 2 months ago
  1. 0

    How to load data from server with Retrofit2 inAndroid

    Stack Overflow | 2 months ago | Kmh54
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  2. 0

    How to load data from server with Retrofit - Android

    Stack Overflow | 2 months ago | Kmh54
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  3. 0

    RenderError

    GitHub | 2 years ago | Okamiwolf144
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Muzei Crash when downloading

    GitHub | 2 years ago | iToobi
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  6. 0

    context menu not working with two fragments

    Stack Overflow | 2 years ago | Logan Guo
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0

  1. filpgame 1 times, last 1 week ago
  2. Aria Pahlavan 6 times, last 1 week ago
  3. bmacedo 4 times, last 1 week ago
  4. MoYapro 5 times, last 2 weeks ago
  5. Alexandru Popa 12 times, last 2 weeks ago
63 more registered users
32 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 0

    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. com.tellfa.colony
    CommentAdapter2.onBindViewHolder
    1. com.tellfa.colony.Adapters.CommentAdapter2.onBindViewHolder(CommentAdapter2.java:43)
    2. com.tellfa.colony.Adapters.CommentAdapter2.onBindViewHolder(CommentAdapter2.java:21)
    2 frames
  4. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5822)
    2. android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5855)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5091)
    4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4967)
    5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
    6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
    7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
    8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
    9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3315)
    10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3124)
    11. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3568)
    11 frames
  5. Android Platform
    Choreographer$FrameDisplayEventReceiver.run
    1. android.view.View.layout(View.java:15654)
    2. android.view.ViewGroup.layout(ViewGroup.java:4969)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1705)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1559)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1468)
    6. android.view.View.layout(View.java:15654)
    7. android.view.ViewGroup.layout(ViewGroup.java:4969)
    8. android.widget.SlidingDrawer.onLayout(SlidingDrawer.java:358)
    9. android.view.View.layout(View.java:15654)
    10. android.view.ViewGroup.layout(ViewGroup.java:4969)
    11. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
    12. android.view.View.layout(View.java:15654)
    13. android.view.ViewGroup.layout(ViewGroup.java:4969)
    14. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    15. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    16. android.view.View.layout(View.java:15654)
    17. android.view.ViewGroup.layout(ViewGroup.java:4969)
    18. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1705)
    19. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1559)
    20. android.widget.LinearLayout.onLayout(LinearLayout.java:1468)
    21. android.view.View.layout(View.java:15654)
    22. android.view.ViewGroup.layout(ViewGroup.java:4969)
    23. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    24. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    25. android.view.View.layout(View.java:15654)
    26. android.view.ViewGroup.layout(ViewGroup.java:4969)
    27. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1705)
    28. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1559)
    29. android.widget.LinearLayout.onLayout(LinearLayout.java:1468)
    30. android.view.View.layout(View.java:15654)
    31. android.view.ViewGroup.layout(ViewGroup.java:4969)
    32. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    33. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    34. android.view.View.layout(View.java:15654)
    35. android.view.ViewGroup.layout(ViewGroup.java:4969)
    36. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2102)
    37. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1859)
    38. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1078)
    39. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5875)
    40. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    41. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    42. android.view.Choreographer.doFrame(Choreographer.java:550)
    43. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    43 frames