java.lang.NullPointerException

GitHub | wenmingvs | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 10 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 | 10 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:7706)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2217)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
      15 frames
    5. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2118)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1521)
      2 frames
    6. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2513)
      1 frame
    7. Android
      PhoneWindow$DecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2044)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchPointerEvent(View.java:7886)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4022)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3864)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3458)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3427)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3534)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3435)
      9. android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3591)
      10. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
      11. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3458)
      12. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3427)
      13. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3435)
      14. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
      15. android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5607)
      16. android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5587)
      17. android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5558)
      18. android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5687)
      19. android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:198)
      20. android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
      21. android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:189)
      22. android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5660)
      23. android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5706)
      24. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
      25. android.view.Choreographer.doCallbacks(Choreographer.java:574)
      26. android.view.Choreographer.doFrame(Choreographer.java:542)
      27. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
      28. android.os.Handler.handleCallback(Handler.java:733)
      29. android.os.Handler.dispatchMessage(Handler.java:95)
      30. android.os.Looper.loop(Looper.java:136)
      31. android.app.ActivityThread.main(ActivityThread.java:5049)
      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:818)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame