java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{297ec5f4 position=1 id=-1, oldPos=1, pLpos:-1 scrap tmpDetached no parent}

bignerdranch.com | 4 months ago
  1. 0

    Big Nerd Ranch Books • View topic - Challenge: Deleting Crimes

    bignerdranch.com | 7 months ago
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{297ec5f4 position=1 id=-1, oldPos=1, pLpos:-1 scrap tmpDetached no parent}
  2. 0

    Big Nerd Ranch Books • View topic - Challenge: Deleting Crimes

    bignerdranch.com | 7 months ago
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{297ec5f4 position=1 id=-1, oldPos=1, pLpos:-1 scrap tmpDetached no parent}
  3. 0

    Challenge: Deleting Crimes - 13. The Toolbar - Big Nerd Ranch Books Forums

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

    Automated exception search integrated into your IDE

  5. 0

    note 2 kitkat

    GitHub | 1 year ago | SlideAutoreport
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{44985610 position=32 id=-1, oldPos=1, pLpos:1 scrap [attachedScrap] tmpDetached no parent}
  6. 0

    Crash

    GitHub | 1 year ago | SlideAutoreport
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{44bba658 position=221 id=-1, oldPos=39, pLpos:39 scrap [attachedScrap] tmpDetached no parent}

  1. Stefan Braune 2 times, last 5 months ago
  2. Agócs Tamás 47 times, last 9 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{297ec5f4 position=1 id=-1, oldPos=1, pLpos:-1 scrap 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:4349)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4480)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4461)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1962)
    5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1371)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1334)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:563)
    8. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2801)
    9. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3145)
    9 frames
  3. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:15671)
    2. android.view.ViewGroup.layout(ViewGroup.java:5038)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    5. android.view.View.layout(View.java:15671)
    6. android.view.ViewGroup.layout(ViewGroup.java:5038)
    7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    8. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    9. android.view.View.layout(View.java:15671)
    10. android.view.ViewGroup.layout(ViewGroup.java:5038)
    11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    12. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    13. android.view.View.layout(View.java:15671)
    14. android.view.ViewGroup.layout(ViewGroup.java:5038)
    14 frames
  4. Android v7
    ActionBarOverlayLayout.onLayout
    1. android.support.v7.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:437)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:15671)
    2. android.view.ViewGroup.layout(ViewGroup.java:5038)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    5. android.view.View.layout(View.java:15671)
    6. android.view.ViewGroup.layout(ViewGroup.java:5038)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
    10. android.view.View.layout(View.java:15671)
    11. android.view.ViewGroup.layout(ViewGroup.java:5038)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    14. android.view.View.layout(View.java:15671)
    15. android.view.ViewGroup.layout(ViewGroup.java:5038)
    16. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2086)
    17. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1843)
    18. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
    19. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5885)
    20. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    21. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    22. android.view.Choreographer.doFrame(Choreographer.java:550)
    23. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    24. android.os.Handler.handleCallback(Handler.java:739)
    25. android.os.Handler.dispatchMessage(Handler.java:95)
    26. android.os.Looper.loop(Looper.java:135)
    27. android.app.ActivityThread.main(ActivityThread.java:5257)
    27 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames