java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{6f53bda position=170 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached no parent}

GitHub | 3v0lution | 5 months ago
  1. 0

    GitHub comment 142#233188196

    GitHub | 5 months ago | 3v0lution
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{6f53bda position=170 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached no parent}
  2. 0

    Issue 77846 - android - IndexOutOfBoundsException in RecyclerView triggered by RecyclerView.onLayout() - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 2 weeks ago
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{21bb2f71 position=4 id=-1, oldPos=4, pLpos:-1 scrap tmpDetached no parent}
  3. 0

    Issue 77846 - android - IndexOutOfBoundsException in RecyclerView triggered by RecyclerView.onLayout() - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 6 months ago
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{21bb2f71 position=4 id=-1, oldPos=4, pLpos:-1 scrap tmpDetached no parent}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IndexOutOfBoundsException RecyclerView

    GitHub | 10 months ago | stevendobrien
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{41933fb0 position=7 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached not recyclable(1) no parent}

  1. Agócs Tamás 47 times, last 9 months ago
  2. Stefan Braune 2 times, last 5 months ago
13 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 view holder adapter positionViewHolder{6f53bda position=170 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached no parent}

    at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition()
  2. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:4801)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4932)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
    5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
    8. android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3211)
    9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3067)
    10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
    10 frames
  3. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16630)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16630)
    6. android.view.ViewGroup.layout(ViewGroup.java:5437)
    7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    8. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    9. android.view.View.layout(View.java:16630)
    10. android.view.ViewGroup.layout(ViewGroup.java:5437)
    10 frames
  4. android.support.design
    CoordinatorLayout.onLayout
    1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:120)
    2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
    3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)
    4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:815)
    4 frames
  5. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16630)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16630)
    6. android.view.ViewGroup.layout(ViewGroup.java:5437)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    10. android.view.View.layout(View.java:16630)
    11. android.view.ViewGroup.layout(ViewGroup.java:5437)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    14. android.view.View.layout(View.java:16630)
    15. android.view.ViewGroup.layout(ViewGroup.java:5437)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    19. android.view.View.layout(View.java:16630)
    20. android.view.ViewGroup.layout(ViewGroup.java:5437)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    22 frames
  6. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
    1 frame
  7. Android Platform
    Choreographer$CallbackRecord.run
    1. android.view.View.layout(View.java:16630)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    7 frames