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. 0

    GitHub comment 28#190645304

    GitHub | 1 year ago | Zeliret
    java.lang.NullPointerException: Attempt to read from field 'int android.support.v7.widget.RecyclerView$ItemAnimator$ItemHolderInfo.left' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NPE with 23.2.0 in android.support.v7.widget.RecyclerView$ItemAnimator$ItemHolderInfo.left

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

    Nullpointer when compiling with "support:recyclerview-v7:24.0.0-alpha1"

    GitHub | 1 year ago | jaydeepw
    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.animateDisappearance()
  2. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.SimpleItemAnimator.animateDisappearance(SimpleItemAnimator.java:78)
    2. android.support.v7.widget.RecyclerView.animateDisappearance(RecyclerView.java:3246)
    3. android.support.v7.widget.RecyclerView.access$700(RecyclerView.java:147)
    4. android.support.v7.widget.RecyclerView$4.processDisappeared(RecyclerView.java:422)
    5. android.support.v7.widget.ViewInfoStore.process(ViewInfoStore.java:231)
    6. android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3086)
    7. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2914)
    8. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3277)
    8 frames
  3. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16636)
    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:16636)
    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:16636)
    10. android.view.ViewGroup.layout(ViewGroup.java:5437)
    11. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
    12. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
    13. android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
    14. android.view.View.layout(View.java:16636)
    15. android.view.ViewGroup.layout(ViewGroup.java:5437)
    16. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    17. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    18. android.view.View.layout(View.java:16636)
    19. android.view.ViewGroup.layout(ViewGroup.java:5437)
    20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    21. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    22. android.view.View.layout(View.java:16636)
    23. android.view.ViewGroup.layout(ViewGroup.java:5437)
    24. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    25. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    25 frames
  4. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:16636)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2179)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1939)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6023)
    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:5422)
    14 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames