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

google.com | 4 months ago
  1. 0

    GitHub comment 1754#194738167

    GitHub | 9 months ago | mfietz
    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

    Unable to open fragment from recyclerview

    Stack Overflow | 1 year ago | Heamanth Varma
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v7.widget.RecyclerView$ViewHolder.shouldIgnore()' on a null object reference

  1. mathan m 2 times, last 4 months ago
  2. emmanuelstroem 4 times, last 6 months ago
  3. Macapon 21 times, last 7 months ago
  4. dmitry 8 times, last 7 months ago
26 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.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
    ViewGroup.layout
    1. android.view.View.layout(View.java:16630)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    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:16630)
    7. android.view.ViewGroup.layout(ViewGroup.java:5437)
    8. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    9. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    10. android.view.View.layout(View.java:16630)
    11. android.view.ViewGroup.layout(ViewGroup.java:5437)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    14. android.view.View.layout(View.java:16630)
    15. android.view.ViewGroup.layout(ViewGroup.java:5437)
    16. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1079)
    17. android.view.View.layout(View.java:16630)
    18. android.view.ViewGroup.layout(ViewGroup.java:5437)
    18 frames
  4. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1183)
    1 frame
  5. Android Platform
    FrameLayout.onLayout
    1. android.view.View.layout(View.java:16630)
    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:16630)
    6. android.view.ViewGroup.layout(ViewGroup.java:5437)
    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:16630)
    11. android.view.ViewGroup.layout(ViewGroup.java:5437)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    14. android.view.View.layout(View.java:16630)
    15. android.view.ViewGroup.layout(ViewGroup.java:5437)
    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:16630)
    20. android.view.ViewGroup.layout(ViewGroup.java:5437)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
    22 frames
  6. Android
    PhoneWindow$DecorView.onLayout
    1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
    1 frame
  7. Android Platform
    Choreographer.doFrame
    1. android.view.View.layout(View.java:16630)
    2. android.view.ViewGroup.layout(ViewGroup.java:5437)
    3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
    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)
    9 frames