java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.dialer/com.android.dialer.CallDetailActivity}: java.lang.ClassCastException: android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by speak xj7, 1 year ago
Unable to start activity ComponentInfo{com.android.dialer/com.android.dialer.CallDetailActivity}: java.lang.ClassCastException: android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact
via JIRA by speak xj7, 1 year ago
Unable to start activity ComponentInfo{com.android.dialer/com.android.dialer.CallDetailActivity}: java.lang.ClassCastException: android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact
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 Stack Overflow by Uzair Hayat
, 2 years ago
Unable to start activity ComponentInfo{com.uziiuzair.tnw/com.uziiuzair.tnw.MainActivity}: java.lang.ClassCastException: android.widget.ImageButton cannot be cast to android.widget.Button
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.dialer/com.android.dialer.CallDetailActivity}: java.lang.ClassCastException: android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact
at com.android.dialer.CallDetailHeader.(CallDetailHeader.java:106)
at com.android.dialer.CallDetailActivity.onCreate(CallDetailActivity.java:251)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
at android.app.ActivityThread.access$900(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
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:904)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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