java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference

GitHub | BobOtike | 4 months ago
  1. 0

    NPE when filtering items

    GitHub | 4 months ago | BobOtike
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
  2. 0

    GitHub comment 51#222623411

    GitHub | 6 months ago | alistairbrightec
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
  3. 0

    Intermittent Crash (Null Pointer)

    GitHub | 7 months ago | alistairsykes
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    child is null

    GitHub | 9 months ago | kibotu
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
  6. 0

    【CrashLog】 WeiSwift 2016-08-21 17:52:41:04

    GitHub | 4 months ago | wenmingvs
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' 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 invoke virtual method 'int android.view.View.getTop()' on a null object reference

      at android.support.v7.widget.RecyclerView$LayoutManager.getDecoratedTop()
    2. Android v7
      RecyclerView$LayoutManager.getDecoratedTop
      1. android.support.v7.widget.RecyclerView$LayoutManager.getDecoratedTop(RecyclerView.java:8095)
      1 frame
    3. com.turingtechnologies.materialscrollbar
      MaterialScrollBar$scrollListener.onScrolled
      1. com.turingtechnologies.materialscrollbar.ScrollingUtilities.getCurScrollState(ScrollingUtilities.java:152)
      2. com.turingtechnologies.materialscrollbar.ScrollingUtilities.scrollHandleAndIndicator(ScrollingUtilities.java:52)
      3. com.turingtechnologies.materialscrollbar.MaterialScrollBar$scrollListener.onScrolled(MaterialScrollBar.java:694)
      3 frames
    4. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:4250)
      2. android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3348)
      3. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3080)
      4. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      4 frames
    5. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16711)
      2. android.view.ViewGroup.layout(ViewGroup.java:5328)
      3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
      4. android.view.View.layout(View.java:16711)
      5. android.view.ViewGroup.layout(ViewGroup.java:5328)
      6. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
      7. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
      8. android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
      9. android.view.View.layout(View.java:16711)
      10. android.view.ViewGroup.layout(ViewGroup.java:5328)
      10 frames
    6. Android Support v4
      ViewPager.onLayout
      1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1761)
      1 frame
    7. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16711)
      2. android.view.ViewGroup.layout(ViewGroup.java:5328)
      3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
      4. android.view.View.layout(View.java:16711)
      5. android.view.ViewGroup.layout(ViewGroup.java:5328)
      5 frames
    8. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)
      1 frame
    9. Android Platform
      Looper.loop
      1. android.view.View.layout(View.java:16711)
      2. android.view.ViewGroup.layout(ViewGroup.java:5328)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
      5. android.view.View.layout(View.java:16711)
      6. android.view.ViewGroup.layout(ViewGroup.java:5328)
      7. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
      8. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
      9. android.view.View.layout(View.java:16711)
      10. android.view.ViewGroup.layout(ViewGroup.java:5328)
      11. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
      12. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
      13. android.view.View.layout(View.java:16711)
      14. android.view.ViewGroup.layout(ViewGroup.java:5328)
      15. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1702)
      16. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1556)
      17. android.widget.LinearLayout.onLayout(LinearLayout.java:1465)
      18. android.view.View.layout(View.java:16711)
      19. android.view.ViewGroup.layout(ViewGroup.java:5328)
      20. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
      21. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
      22. android.view.View.layout(View.java:16711)
      23. android.view.ViewGroup.layout(ViewGroup.java:5328)
      24. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2319)
      25. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2032)
      26. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1191)
      27. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6642)
      28. android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)
      29. android.view.Choreographer.doCallbacks(Choreographer.java:590)
      30. android.view.Choreographer.doFrame(Choreographer.java:560)
      31. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)
      32. android.os.Handler.handleCallback(Handler.java:739)
      33. android.os.Handler.dispatchMessage(Handler.java:95)
      34. android.os.Looper.loop(Looper.java:145)
      34 frames