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 JIRA by Marek Wasilewski, 2 years ago
Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.MessagingPreferenceActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via JIRA by Marek Wasilewski, 1 year ago
Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.MessagingPreferenceActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via JIRA by Łukasz, 2 years ago
Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.ComposeMessageActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via JIRA by Łukasz, 1 year ago
Unable to start activity ComponentInfo{com.android.mms/com.android.mms.ui.ComposeMessageActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
via GitHub by BoFoPinttag
, 2 years ago
Unable to start activity ComponentInfo{com.pinttag.pinttag/com.pinttag.pinttag.MainActivity}: java.lang.ClassCastException: im.delight.android.webview.AdvancedWebView cannot be cast to com.pinttag.pinttag.AdvancedWebView
via GitHub by dmsherazi
, 1 year ago
Unable to start activity ComponentInfo{net.kindows.chitchat/net.kindows.chitchat.LoginActivity}: java.lang.ClassCastException: net.kindows.common.ApplicationLoader cannot be cast to android.app.Activity
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String	at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:223)	at android.preference.Preference.getPersistedString(Preference.java:1468)	at android.preference.ListPreference.onSetInitialValue(ListPreference.java:294)	at android.preference.Preference.dispatchSetInitialValue(Preference.java:1384)	at android.preference.Preference.onAttachedToHierarchy(Preference.java:1171)	at android.preference.PreferenceGroup.addPreference(PreferenceGroup.java:167)	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:108)	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:45)	at android.preference.GenericInflater.rInflate(GenericInflater.java:488)	at android.preference.GenericInflater.rInflate(GenericInflater.java:493)	at android.preference.GenericInflater.inflate(GenericInflater.java:326)	at android.preference.GenericInflater.inflate(GenericInflater.java:263)	at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)	at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1513)	at com.android.mms.ui.MessagingPreferenceActivity.loadPrefs(MessagingPreferenceActivity.java:294)	at com.android.mms.ui.MessagingPreferenceActivity.onCreate(MessagingPreferenceActivity.java:233)	at android.app.Activity.performCreate(Activity.java:5933)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)	at android.app.ActivityThread.access$900(ActivityThread.java:147)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5254)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)