java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • 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(BaseDetailActivity.java:334) at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972) at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194) at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2453) at android.view.View.dispatchTouchEvent(View.java:8461) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2428) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2162) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2434) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2176) at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2346) at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1701) at android.app.Activity.dispatchTouchEvent(Activity.java:2781) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2303) at android.view.View.dispatchPointerEvent(View.java:8651) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4192) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4058) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3605) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3658) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3624) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3734) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3632) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3791) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3605) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3658) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3624) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3632) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3605) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5885) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5859) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5830) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5983) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:143) at android.os.Looper.loop(Looper.java:122) at android.app.ActivityThread.main(ActivityThread.java:5277) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:919) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:714)
    No Bugmate found.