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 Belz123PL
, 1 year ago
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
via Stack Overflow by Erik Soderstrom
, 2 years ago
This exception has no message.
via Stack Overflow by hesham
, 2 years ago
This exception has no message.
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$Builder.(AlertDialog.java:360)
at promocje.MainActivity.showAlert(MainActivity.java:164)
at promocje.db.engine.DatabaseHandler.useCoupon(DatabaseHandler.java:889)
at promocje.adapter.CouponListAdapter.useCoupon(CouponListAdapter.java:166)
at promocje.adapter.CouponListAdapter$1$1.onFinish(CouponListAdapter.java:144)
at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:118)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
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:779)

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.