java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 20(offset:20).state:21

GitHub | lololiu | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    加载更多过程中上下滑动列表会报错

    GitHub | 8 months ago | lololiu
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 20(offset:20).state:21
  2. 0

    [Crash Log] Thu, 04 Dec 2014 03:00:07 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{43dce938 position=30 id=-1, oldPos=-1, pLpos:-1 no parent}
  3. 0

    [Crash Log] Tue, 06 Jan 2015 05:27:20 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 3(offset:3).state:21
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Crash Log] Tue, 13 Jan 2015 07:32:34 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 3(offset:3).state:59
  6. 0

    [Crash Log] Sat, 31 Jan 2015 12:11:32 GMT

    GitHub | 2 years ago | blFeedbackBot
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 3(offset:3).state:58

  1. Indri Yunita 2 times, last 5 months ago
  2. Aria Pahlavan 1 times, last 6 months ago
  3. Stefan Braune 6 times, last 10 months ago
9 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

    Inconsistency detected. Invalid item position 20(offset:20).state:21

    at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition()
  2. Android v7
    RecyclerView.onTouchEvent
    1. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4659)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
    3. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
    4. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
    5. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
    6. android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1180)
    7. android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1031)
    8. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1529)
    9. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2486)
    9 frames