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 GitHub by Blaisorblade
, 1 year ago
Unable to destroy activity {com.kamron.pogoiv/com.kamron.pogoiv.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.googlecode.tesseract.android.TessBaseAPI.stop()' on a null object reference
via GitHub by liaxim
, 8 months ago
Unable to destroy activity {org.gearvrf.sample.gvrjavascript/org.gearvrf.sample.gvrjavascript.GearVRJavascriptActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void javax.script.Bindings.clear()' on a null object reference
via GitHub by avishayil
, 1 year ago
Unable to destroy activity {com.zuznow.geektime/com.zuznow.geektime.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Object.equals(java.lang.Object)' on a null object reference
via GitHub by danielnazareth
, 1 year ago
Unable to destroy activity {MyApplication}: java.lang.NullPointerException: Attempt to invoke interface method 'com.liulishuo.filedownloader.BaseDownloadTask com.liulishuo.filedownloader.BaseDownloadTask$IRunningTask.getOrigin()' on a null object reference
via Stack Overflow by DIWAKAR VISHWAS
, 9 months ago
Unable to stop activity {com.example.diwakarkumar.chatit/com.example.diwakarkumar.chatit.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.firebase.database.DatabaseReference com.google.firebase.database.DatabaseReference.child(java.lang.String)' on a null object reference
java.lang.RuntimeException: Unable to destroy activity {com.kamron.pogoiv/com.kamron.pogoiv.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.googlecode.tesseract.android.TessBaseAPI.stop()' on a null object reference at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5069) at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5092) at android.app.ActivityThread.access$1700(ActivityThread.java:221) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1853) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7232) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)