java.lang.NullPointerException: This exception has no message.

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 Stack Overflow by Sarquella
, 1 year ago
This exception has no message.
via Stack Overflow by Filip Sollár
, 1 year ago
java.lang.NullPointerException:
at android.support.v4.view.ViewCompatICS.canScrollHorizontally(ViewCompatICS.java:31)
at android.support.v4.view.ViewCompat$ICSViewCompatImpl.canScrollHorizontally(ViewCompat.java:1249)
at android.support.v4.view.ViewCompat.canScrollHorizontally(ViewCompat.java:1684)
at android.support.v4.view.ViewPager.canScroll(ViewPager.java:2561)
at android.support.v4.view.ViewPager.canScroll(ViewPager.java:2552)
at android.support.v4.view.ViewPager.canScroll(ViewPager.java:2552)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1859)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2096)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:60)
at android.view.View.dispatchPointerEvent(View.java:7897)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3965)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3844)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3410)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3460)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3429)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3536)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3437)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3593)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3410)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3460)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3429)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3437)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3410)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5623)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5603)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5574)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5703)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(InputEventReceiver.java)
at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:176)
at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5676)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5722)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:542)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5285)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:935)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.