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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    tabris1.5 issue with switch

    GitHub | 12 months ago | bFlood
    java.lang.NullPointerException: Attempt to write to field 'int android.support.v7.widget.RecyclerView$ViewHolder.mItemViewType' on a null object reference
  3. 0

    android - addOnScrollListener в RecyclerView - Stack Overflow на русском

    stackoverflow.com | 11 months ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.support.v7.widget.RecyclerView$ViewHolder.shouldIgnore()' 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:15671)
    2. android.view.ViewGroup.layout(ViewGroup.java:5038)
    2 frames
  4. Android Support v4
    SwipeRefreshLayout.onLayout
    1. android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:584)
    1 frame
  5. 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)
    10 frames
  6. 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.CoordinatorLayout.onLayout(CoordinatorLayout.java:761)
    3 frames
  7. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:15671)
    2. android.view.ViewGroup.layout(ViewGroup.java:5038)
    2 frames
  8. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1043)
    1 frame
  9. Android Platform
    Handler.dispatchMessage
    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)
    15. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    16. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    17. android.view.View.layout(View.java:15671)
    18. android.view.ViewGroup.layout(ViewGroup.java:5038)
    19. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
    20. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
    21. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
    22. android.view.View.layout(View.java:15671)
    23. android.view.ViewGroup.layout(ViewGroup.java:5038)
    24. android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
    25. android.widget.FrameLayout.onLayout(FrameLayout.java:514)
    26. android.view.View.layout(View.java:15671)
    27. android.view.ViewGroup.layout(ViewGroup.java:5038)
    28. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2086)
    29. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1843)
    30. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
    31. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5885)
    32. android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
    33. android.view.Choreographer.doCallbacks(Choreographer.java:580)
    34. android.view.Choreographer.doFrame(Choreographer.java:550)
    35. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
    36. android.os.Handler.handleCallback(Handler.java:739)
    37. android.os.Handler.dispatchMessage(Handler.java:95)
    37 frames