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

java.lang.NullPointerException:
at com.marz.snapprefs.HookMethods$1$2.afterHookedMethod(HookMethods.java:491)
at undefined.Em.a(Native Method)
at undefined.Em.c(SourceFile:621)
at com.snapchat.android.camera.CameraFragment.onVisible(SourceFile:1002)
at com.snapchat.android.util.fragment.SnapchatFragment.h(SourceFile:403)
at com.snapchat.android.util.fragment.SnapchatFragment.ak(SourceFile:576)
at com.snapchat.android.camera.CameraFragment.onResume(SourceFile:913)
at undefined.ad.a(SourceFile:1107)
at undefined.ad.a(SourceFile:1252)
at undefined.Y.run(SourceFile:738)
at undefined.ad.i(SourceFile:1617)
at undefined.ad.b(SourceFile:570)
at undefined.agQ.a(SourceFile:114)
at undefined.vq.a(SourceFile:108)
at android.support.v4.view.ViewPager.b(SourceFile:1177)
at android.support.v4.view.ViewPager.b(SourceFile:1025)
at android.view.View.measure(View.java:17767)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:17767)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:17767)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:17767)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1413)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:696)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:589)
at android.view.View.measure(View.java:17767)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5428)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:17767)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2356)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1458)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1659)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1316)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6806)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:813)
at android.view.Choreographer.doCallbacks(Choreographer.java:613)
at android.view.Choreographer.doFrame(Choreographer.java:583)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:799)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5756)
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:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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