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 mikemike396
, 1 year ago
Unable to destroy activity {myapp.PDFViewer.PDFView_activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.dispatchDetachedFromWindow()' on a null object reference
via GitHub by AdrianLxM
, 1 month ago
Unable to destroy activity {org.monkey.d.ruffy.ruffy/org.monkey.d.ruffy.ruffy.Start}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.monkey.d.ruffy.ruffy.driver.BTConnection.disconnect()' on a null object reference
via GitHub by lwj1994
, 1 year ago
Unable to destroy activity {com.quxiangtou.app/cn.finalteam.galleryfinal.PhotoSelectActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void java.util.ArrayList.clear()' on a null object reference
via GitHub by kwonye
, 2 years ago
Unable to destroy activity {org.wordpress.android/org.wordpress.android.ui.prefs.BlogPreferencesActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void org.wordpress.android.ui.prefs.SiteSettingsInterface.saveSettings()' on a null object reference
via GitHub by luciman
, 10 months ago
Unable to destroy activity {com.xxx.xxx.xxx/com.xxx.xxx.xxx.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.model.Polygon.remove()' on a null object reference
via GitHub by QinAndroid
, 8 months ago
Unable to destroy activity {com.uf.ssp/com.karumi.dexter.DexterActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.karumi.dexter.DexterInstance.onActivityDestroyed()' on a null object reference
java.lang.RuntimeException: Unable to destroy activity {myapp.PDFViewer.PDFView_activity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.dispatchDetachedFromWindow()' on a null object reference	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3831)	at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3849)