Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by wenmingvs
, 1 year ago
via GitHub by wenmingvs
, 1 year ago
via GitHub by wenmingvs
, 1 year ago
java.lang.NullPointerException: 	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:7785)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2321)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2013)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2327)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2027)	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2153)	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1577)	at android.app.Activity.dispatchTouchEvent(Activity.java:2518)	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2101)	at android.view.View.dispatchPointerEvent(View.java:7976)	at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4388)	at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4259)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3805)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3855)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3824)	at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3931)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3832)	at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3988)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3805)	at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3855)	at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3824)	at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3832)	at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3805)	at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6123)	at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6103)	at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6057)	at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6253)	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)	at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)	at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)	at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6215)	at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6275)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)	at android.view.Choreographer.doCallbacks(Choreographer.java:591)	at android.view.Choreographer.doFrame(Choreographer.java:558)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)	at android.os.Handler.handleCallback(Handler.java:808)	at android.os.Handler.dispatchMessage(Handler.java:103)	at android.os.Looper.loop(Looper.java:193)	at android.app.ActivityThread.main(ActivityThread.java:5390)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:851)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:667)	at dalvik.system.NativeStart.main(Native Method)