java.lang.NullPointerException: Attempt to read from field 'int android.support.v7.widget.RecyclerView$ItemAnimator$ItemHolderInfo.left' on a null object reference

google.com | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    NullPointerException when expanding some/most items using support library v23.2.0

    GitHub | 1 year ago | jhavatar
    java.lang.NullPointerException: Attempt to read from field 'int android.support.v7.widget.RecyclerView$ItemAnimator$ItemHolderInfo.left' on a null object reference
  3. 0

    RecyclerView crashes when fast scroll with load more android

    Stack Overflow | 1 year ago | awaistoor
    java.lang.NullPointerException: Attempt to read from field 'int android.support.v7.widget.RecyclerView$ItemAnimator$ItemHolderInfo.left' on a null object reference
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.NullPointerException

    Attempt to read from field 'int android.support.v7.widget.RecyclerView$ItemAnimator$ItemHolderInfo.left' on a null object reference

    at android.support.v7.widget.SimpleItemAnimator.animateChange()
  2. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.SimpleItemAnimator.animateChange(SimpleItemAnimator.java:130)
    2. android.support.v7.widget.RecyclerView.animateChange(RecyclerView.java:3062)
    3. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2924)
    4. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3071)
    4 frames
  3. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:15614)
    2. android.view.ViewGroup.layout(ViewGroup.java:4968)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
    6. android.view.View.layout(View.java:15614)
    7. android.view.ViewGroup.layout(ViewGroup.java:4968)
    8. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    9. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    10. android.view.View.layout(View.java:15614)
    11. android.view.ViewGroup.layout(ViewGroup.java:4968)
    11 frames
  4. android.support.design
    CoordinatorLayout.onLayout
    1. android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1037)
    2. android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:747)
    3. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
    4. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1133)
    5. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:760)
    5 frames
  5. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:15614)
    2. android.view.ViewGroup.layout(ViewGroup.java:4968)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    5. android.view.View.layout(View.java:15614)
    6. android.view.ViewGroup.layout(ViewGroup.java:4968)
    7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    8. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    9. android.view.View.layout(View.java:15614)
    10. android.view.ViewGroup.layout(ViewGroup.java:4968)
    11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    12. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    13. android.view.View.layout(View.java:15614)
    14. android.view.ViewGroup.layout(ViewGroup.java:4968)
    15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
    16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
    17. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
    18. android.view.View.layout(View.java:15614)
    19. android.view.ViewGroup.layout(ViewGroup.java:4968)
    20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    21. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    22. android.view.View.layout(View.java:15614)
    23. android.view.ViewGroup.layout(ViewGroup.java:4968)
    24. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2102)
    25. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1859)
    26. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1077)
    27. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5884)
    28. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    29. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    30. android.view.Choreographer.doFrame(Choreographer.java:550)
    31. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    32. android.os.Handler.handleCallback(Handler.java:739)
    33. android.os.Handler.dispatchMessage(Handler.java:95)
    34. android.os.Looper.loop(Looper.java:135)
    35. android.app.ActivityThread.main(ActivityThread.java:5312)
    35 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:901)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
    2 frames