java.lang.RuntimeException: Unable to destroy activity {XXXX.BaseActivity_new}: java.lang.NullPointerException

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

Samebug tips

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by PCImagine Casserres
, 1 year ago
Unable to destroy activity {XXXX.BaseActivity_new}: java.lang.NullPointerException
via GitHub by ming13
, 2 years ago
Unable to destroy activity: java.lang.NullPointerException
via JIRA by yang yunlong, 1 year ago
Unable to destroy activity {org.xwalk.embedded.api.sample/org.xwalk.embedded.api.sample.AnimatableXWalkViewActivity}: java.lang.NullPointerException
via Stack Overflow by notenking
, 2 years ago
Unable to destroy activity {me.test.admob/me.test.admob.AdWhirlTestActivity}: java.lang.NullPointerException
via Stack Overflow by thepoosh
, 2 years ago
Unable to destroy activity {com.yishai/com.thepoosh.MyActivity}: java.lang.NullPointerException
via Stack Overflow by Omar
, 1 year ago
Unable to destroy activity {com.example.test/com.example.test.test2}: java.lang.NullPointerException
java.lang.RuntimeException: Unable to destroy activity {XXXX.BaseActivity_new}: java.lang.NullPointerException
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3316)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3334)
at android.app.ActivityThread.access$1200(ActivityThread.java:137)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1263)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4838)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:875)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
172 more bugmates

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