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 Mohamad Armoon
, 1 year ago
This exception has no message.
via Coderanch by Gil Carvalho, 1 year ago
This exception has no message.
via Stack Overflow by samir
, 2 years ago
This exception has no message.
via Stack Overflow by Tapehead
, 2 years ago
This exception has no message.
via Stack Overflow by Abdul Rahman
, 2 years ago
java.lang.NullPointerException:
at android.content.ContextWrapper.getApplicationInfo(ContextWrapper.java:152)
at android.view.ContextThemeWrapper.getTheme(ContextThemeWrapper.java:103)
at android.app.AlertDialog.resolveDialogTheme(AlertDialog.java:143)
at android.app.AlertDialog.(AlertDialog.java:98)
at android.app.ProgressDialog.(ProgressDialog.java:77)
at com.example.mohamad.travelagency.fragment_two.GetServetData_L1(fragment_two.java:458)
at com.example.mohamad.travelagency.MainActivity$1.onPageScrollStateChanged(MainActivity.java:124)
at android.support.v4.view.ViewPager.dispatchOnScrollStateChanged(ViewPager.java:1811)
at android.support.v4.view.ViewPager.setScrollState(ViewPager.java:404)
at android.support.v4.view.ViewPager.access$000(ViewPager.java:91)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:543)
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:5271)
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)

Users with the same issue

2 times, 6 months ago
4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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