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

via GitHub by stonecold123
, 1 year ago
Inconsistency detected. Invalid view holder adapter positionViewHolder{21e958a8 position=18 id=-1, oldPos=18, pLpos:-1 scrap [attachedScrap] tmpDetached no parent}
via GitHub by andansky
, 1 year ago
Inconsistency detected. Invalid view holder adapter positionViewHolder{fe4b454 position=4 id=-1, oldPos=1, pLpos:1 scrap [attachedScrap] tmpDetached no parent}
via GitHub by dalb8
, 1 year ago
Inconsistency detected. Invalid view holder adapter positionViewHolder{64a18148 position=3 id=3, oldPos=2, pLpos:2 scrap tmpDetached no parent}
via Stack Overflow by Владимир Фишер
, 1 year ago
Inconsistency detected. Invalid view holder adapter positionViewHolder{42319ed8 position=1 id=-1, oldPos=0, pLpos:0 scrap tmpDetached no parent}
java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{21e958a8 position=18 id=-1, oldPos=18, pLpos:-1 scrap [attachedScrap] tmpDetached no parent} at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:4801) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4932) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029) at android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:531) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377) at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578) at android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170) at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3211) at android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2782) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:16772) at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1624) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:16772) at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1079) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.FrameLayout.onMeasure(FrameLayout.java:310) at android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404) at android.widget.LinearLayout.measureVertical(LinearLayout.java:695) at android.widget.LinearLayout.onMeasure(LinearLayout.java:588) at android.view.View.measure(View.java:16772) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5139)