java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{5f0faf2 position=1 id=-1, oldPos=1, pLpos:-1 scrap [attachedScrap] tmpDetached no parent} 'Troca de informações/experiencias JB Importador - Exportações e importações de dados'

GitHub | Snakeice | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    "Inconsistency detected. Invalid view holder adapter positionViewHolder"

    GitHub | 7 months ago | Snakeice
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionViewHolder{5f0faf2 position=1 id=-1, oldPos=1, pLpos:-1 scrap [attachedScrap] tmpDetached no parent} 'Troca de informações/experiencias JB Importador - Exportações e importações de dados'
  2. 0

    IndexOutOfBoundsException

    GitHub | 1 year ago | PDDStudio
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 0(offset:2).state:2
  3. 0

    Refactor RecyclerView in FilesFragment

    GitHub | 9 months ago | audax
    java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 4(offset:4).state:7
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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{5f0faf2 position=1 id=-1, oldPos=1, pLpos:-1 scrap [attachedScrap] tmpDetached no parent} 'Troca de informações/experiencias JB Importador - Exportações e importações de dados'

    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:16668)
    2. android.view.ViewGroup.layout(ViewGroup.java:5439)
    2 frames
  4. Android Support v4
    SwipeRefreshLayout.onLayout
    1. android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:598)
    1 frame
  5. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16668)
    2. android.view.ViewGroup.layout(ViewGroup.java:5439)
    3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    4. android.view.View.layout(View.java:16668)
    5. android.view.ViewGroup.layout(ViewGroup.java:5439)
    6. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    7. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    8. android.view.View.layout(View.java:16668)
    9. android.view.ViewGroup.layout(ViewGroup.java:5439)
    9 frames
  6. android.support.design
    CoordinatorLayout.onLayout
    1. android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1092)
    2. android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:802)
    3. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:816)
    3 frames
  7. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:16668)
    2. android.view.ViewGroup.layout(ViewGroup.java:5439)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
    6. android.view.View.layout(View.java:16668)
    7. android.view.ViewGroup.layout(ViewGroup.java:5439)
    8. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    9. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    10. android.view.View.layout(View.java:16668)
    11. android.view.ViewGroup.layout(ViewGroup.java:5439)
    12. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    13. android.view.View.layout(View.java:16668)
    14. android.view.ViewGroup.layout(ViewGroup.java:5439)
    14 frames
  8. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)
    1 frame
  9. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16668)
    2. android.view.ViewGroup.layout(ViewGroup.java:5439)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    5. android.view.View.layout(View.java:16668)
    6. android.view.ViewGroup.layout(ViewGroup.java:5439)
    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:16668)
    11. android.view.ViewGroup.layout(ViewGroup.java:5439)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    14. android.view.View.layout(View.java:16668)
    15. android.view.ViewGroup.layout(ViewGroup.java:5439)
    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:16668)
    20. android.view.ViewGroup.layout(ViewGroup.java:5439)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    22 frames
  10. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2720)
    1 frame
  11. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:16668)
    2. android.view.ViewGroup.layout(ViewGroup.java:5439)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2202)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1955)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1125)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6100)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
    9. android.view.Choreographer.doFrame(Choreographer.java:606)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
    11. android.os.Handler.handleCallback(Handler.java:739)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:148)
    14. android.app.ActivityThread.main(ActivityThread.java:5525)
    14 frames
  12. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  13. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
    2 frames