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

GitHub | andansky | 3 months ago
  1. 0

    GitHub comment 5#245264376

    GitHub | 3 months ago | andansky
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{fe4b454 position=4 id=-1, oldPos=1, pLpos:1 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 | 6 months ago
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{42823fa8 position=0 id=-1, oldPos=1, pLpos:1 scrap [attachedScrap] 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 days ago
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{42823fa8 position=0 id=-1, oldPos=1, pLpos:1 scrap [attachedScrap] tmpDetached no parent}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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{42823fa8 position=0 id=-1, oldPos=1, pLpos:1 scrap [attachedScrap] tmpDetached no parent}
  6. 0

    Expandable function and footerview cause error

    GitHub | 5 months ago | stonecold123
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{21e958a8 position=18 id=-1, oldPos=18, pLpos:-1 scrap [attachedScrap] tmpDetached no parent}

  1. Agócs Tamás 1 times, last 7 months ago
3 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{fe4b454 position=4 id=-1, oldPos=1, pLpos:1 scrap [attachedScrap] tmpDetached no parent}

    at android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition()
  2. Android v7
    RecyclerView.onMeasure
    1. android.support.v7.widget.RecyclerView$Recycler.validateViewHolderForOffsetPosition(RecyclerView.java:4499)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4630)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4611)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988)
    5. android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:528)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
    8. android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)
    9. android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:2977)
    10. android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2594)
    10 frames
  3. Android Platform
    View.measure
    1. android.view.View.measure(View.java:18026)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5705)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1692)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:760)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
    6. android.view.View.measure(View.java:18026)
    7. android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1292)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:471)
    9. android.widget.ScrollView.onMeasure(ScrollView.java:348)
    10. android.view.View.measure(View.java:18026)
    10 frames
  4. com.orangegangsters.github
    SwipyRefreshLayout.onMeasure
    1. com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayout.onMeasure(SwipyRefreshLayout.java:576)
    1 frame
  5. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:18026)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5705)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1692)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:760)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
    6. android.view.View.measure(View.java:18026)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5705)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:471)
    9. android.view.View.measure(View.java:18026)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5705)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1692)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:760)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
    14. android.view.View.measure(View.java:18026)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5705)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:471)
    16 frames
  6. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2805)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:18026)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2480)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1457)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1692)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1335)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6755)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:800)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:603)
    9. android.view.Choreographer.doFrame(Choreographer.java:572)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:786)
    11. android.os.Handler.handleCallback(Handler.java:815)
    12. android.os.Handler.dispatchMessage(Handler.java:104)
    13. android.os.Looper.loop(Looper.java:192)
    14. android.app.ActivityThread.main(ActivityThread.java:5855)
    14 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame