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:9399) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2549) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2240) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2555) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2461) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1777) at android.app.Activity.dispatchTouchEvent(Activity.java:2867) at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2422) at android.view.View.dispatchPointerEvent(View.java:9619) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4465) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4331) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3865) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3918) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3884) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4010) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3892) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4067) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3865) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3918) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3884) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3892) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3865) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6164) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6138) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6099) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6280) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:192) at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method) at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:181) at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6238) at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6311) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:886) at android.view.Choreographer.doCallbacks(Choreographer.java:698) at android.view.Choreographer.doFrame(Choreographer.java:627) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:872) at android.os.Handler.handleCallback(Handler.java:743) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:150) at android.app.ActivityThread.main(ActivityThread.java:5643) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689)
    No Bugmate found.