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

Solutions on the web

ava.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 20(offset:20).state:21	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3300)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3258)	at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1803)	at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1302)	at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1265)	at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1093)	at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:956)	at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:2715)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:894)	at android.view.Choreographer.doCallbacks(Choreographer.java:696)	at android.view.Choreographer.doFrame(Choreographer.java:628)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:880)	at android.os.Handler.handleCallback(Handler.java:815)	at android.os.Handler.dispatchMessage(Handler.java:104)	at android.os.Looper.loop(Looper.java:207)	at android.app.ActivityThread.main(ActivityThread.java:5776)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)