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

JIRA | speak xj7 | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    -uninstall truecaller (and you go back to a near stock dialer), -have google voice, check the box in GV settings for voicemail/playback to be in the caller. ('voicemail display') -click on voicemail notification (or the notification's action 'play' ) get [crash] on com.android.dialer i've submitted it a few times already. (automatic submission - no subj line, i'll tag a specific crash report after i log it) happens 100% of the time. --- 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 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2356) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.ClassCastException: android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact at com.android.dialer.CallDetailHeader.<init>(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) ... 10 more -----------------

    JIRA | 2 years ago | speak xj7
    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
  2. 0

    -uninstall truecaller (and you go back to a near stock dialer), -have google voice, check the box in GV settings for voicemail/playback to be in the caller. ('voicemail display') -click on voicemail notification (or the notification's action 'play' ) get [crash] on com.android.dialer i've submitted it a few times already. (automatic submission - no subj line, i'll tag a specific crash report after i log it) happens 100% of the time. --- 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 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2356) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699) Caused by: java.lang.ClassCastException: android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact at com.android.dialer.CallDetailHeader.<init>(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) ... 10 more -----------------

    JIRA | 2 years ago | speak xj7
    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

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.widget.QuickContactBadge cannot be cast to com.android.dialer.widget.DialerQuickContact

      at com.android.dialer.CallDetailHeader.<init>()
    2. com.android.dialer
      CallDetailActivity.onCreate
      1. com.android.dialer.CallDetailHeader.<init>(CallDetailHeader.java:106)
      2. com.android.dialer.CallDetailActivity.onCreate(CallDetailActivity.java:251)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5990)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
      5. android.app.ActivityThread.access$900(ActivityThread.java:154)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5289)
      9 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
      2 frames