java.lang.RuntimeException: Unable to destroy activity {com.mypackage/com.mypackage.ui.account.AccountActivity}: java.lang.IllegalArgumentException: class java.lang.Object is not an interface

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 Maragues
, 1 year ago
Unable to destroy activity {com.mypackage/com.mypackage.ui.account.AccountActivity}: java.lang.IllegalArgumentException: class java.lang.Object is not an interface
via GitHub by paulgavrikov
, 9 months ago
Unable to destroy activity {es.uni_freiburg.de.cmotion/es.uni_freiburg.de.cmotion.CMotionActivity}: java.lang.IllegalArgumentException: Receiver not registered: de.uni_freiburg.es.sensorrecordingtool.autodiscovery.AutoDiscovery$1@6879233
via GitHub by dennisguse
, 6 months ago
Unable to destroy activity {com.sagar.screenshift2/com.sagar.screenshift2.MainActivity}: java.lang.IllegalArgumentException: Service not registered: com.sagar.screenshift2.util.IabHelper$1@5635c89
via GitHub by rasom
, 1 year ago
Unable to destroy activity {com.statusim/com.statusim.MainActivity}: java.lang.IllegalArgumentException: Receiver not registered: com.centaurwarchief.smslistener.SmsReceiver@c37298f
via GitHub by mtrakal
, 1 year ago
Unable to destroy activity {com.myapp/com.mixpanel.android.surveys.SurveyActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.mixpanel.android.mpmetrics.i$c.b(java.lang.String, java.lang.Object)' on a null object reference
via GitHub by RayBa82
, 1 year ago
Unable to destroy activity {org.dvbviewer.controller/org.dvbviewer.controller.ui.phone.EpgPagerActivity}: java.lang.IllegalStateException: Fragment ChannelEpg{5f1d3cc} is not currently in the FragmentManager
java.lang.RuntimeException: Unable to destroy activity {com.mypackage/com.mypackage.ui.account.AccountActivity}: java.lang.IllegalArgumentException: class java.lang.Object is not an interface
at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3831)

Users with the same issue

32 times, 10 months ago
3 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
5 times, 6 months ago
12 more bugmates

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