java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 66(offset:66).state:80

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by h6ah4i

You have to provide valid identical number for each child items.

Solutions on the web

via GitHub by blFeedbackBot
, 2 years ago
Inconsistency detected. Invalid item position 48(offset:48).state:107
via GitHub by zpfang9008
, 1 year ago
Inconsistency detected. Invalid item position 21(offset:21).state:22
via GitHub by blFeedbackBot
, 2 years ago
Inconsistency detected. Invalid item position 70(offset:70).state:100
via GitHub by blFeedbackBot
, 2 years ago
Inconsistency detected. Invalid item position 27(offset:27).state:79
via GitHub by blFeedbackBot
, 2 years ago
Inconsistency detected. Invalid item position 21(offset:21).state:59
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 66(offset:66).state:80
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4401)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4359)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1961)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1370)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1333)
at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1161)
at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1018)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
at android.view.Choreographer.doCallbacks(Choreographer.java:670)
at android.view.Choreographer.doFrame(Choreographer.java:603)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
at android.os.Handler.handleCallback(Handler.java:746)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5443)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
20 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.