java.lang.RuntimeException: 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

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 Ł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 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 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 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 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.RuntimeException: 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
at android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:223)
at com.android.mms.ui.ComposeMessageActivity.onCreate(ComposeMessageActivity.java:2011)
at android.app.Activity.performCreate(Activity.java:5933)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)

Users with the same issue

3 times, 1 year ago
2 times, 1 year ago
2 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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