java.lang.NullPointerException

GitHub | wenmingvs | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

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

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

    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

      No message provided

      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:7785)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2321)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2013)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)
      15 frames
    5. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2153)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1577)
      2 frames
    6. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2518)
      1 frame
    7. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2101)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:7976)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4388)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4259)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3805)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3855)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3824)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3931)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3832)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3988)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3805)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3855)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3824)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3832)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3805)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6123)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6103)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6057)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6253)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6215)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6275)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:591)
      26. android.view.Choreographer.doFrame(Choreographer.java:558)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
      28. android.os.Handler.handleCallback(Handler.java:808)
      29. android.os.Handler.dispatchMessage(Handler.java:103)
      30. android.os.Looper.loop(Looper.java:193)
      31. android.app.ActivityThread.main(ActivityThread.java:5390)
      31 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:851)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:667)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame