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

GitHub | wenmingvs | 5 months ago
  1. 0

    【CrashLog】 WeiSwift 2016-07-26 16:04:29:44

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

    【CrashLog】 WeiSwift 2016-08-08 16:28:33:59

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

    【CrashLog】 WeiSwift 2016-08-11 22:01:32:91

    GitHub | 4 months ago | wenmingvs
    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

    【CrashLog】 WeiSwift 2016-08-19 23:33:01:52

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

    【CrashLog】 WeiSwift 2016-08-22 09:01:02:35

    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 com.wenming.weiswift.ui.login.fragment.home.weiboitemdetail.activity.BaseDetailActivity$6.onScrollStateChanged()
    2. com.wenming.weiswift
      BaseDetailActivity$6.onScrollStateChanged
      1. com.wenming.weiswift.ui.login.fragment.home.weiboitemdetail.activity.BaseDetailActivity$6.onScrollStateChanged(BaseDetailActivity.java:334)
      1 frame
    3. Android v7
      RecyclerView.onTouchEvent
      1. android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972)
      2. android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194)
      3. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2453)
      3 frames
    4. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:8667)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2517)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2161)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
      15 frames
    5. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2511)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1807)
      2 frames
    6. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2839)
      1 frame
    7. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2468)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:8873)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4831)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4689)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4344)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4401)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6645)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6619)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6572)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6812)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.os.MessageQueue.nativePollOnce(Native Method)
      21. android.os.MessageQueue.next(MessageQueue.java:148)
      22. android.os.Looper.loop(Looper.java:151)
      23. android.app.ActivityThread.main(ActivityThread.java:5691)
      23 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
      2 frames