java.lang.ClassCastException: android.text.SpannableString cannot be cast to java.lang.String

Stack Overflow | saeed | 3 years ago
  1. 0

    why getStringExtra doesn't give the proper output?

    Stack Overflow | 3 years ago | saeed
    java.lang.ClassCastException: android.text.SpannableString cannot be cast to java.lang.String
  2. 0

    Parsing a Table/Div without Id alone from html to WebView Android

    Stack Overflow | 3 years ago | NirPes
    java.lang.ClassCastException: android.text.SpannableString cannot be cast to java.lang.String
  3. 0

    Google Speech to text throwing java.lang.ClassCastException

    Stack Overflow | 2 years ago | Ashish Keshri
    java.lang.ClassCastException: java.util.Locale cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scanning toast messages are blank

    GitHub | 3 years ago | cpeterso
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  6. 0

    How to integrate facebook login into android app

    Stack Overflow | 3 years ago | Lena Bru
    java.lang.ClassCastException: java.lang.Integer

  1. filpgame 6 times, last 3 weeks ago
  2. ajinkya_w 39 times, last 2 months ago
  3. lribeiro 2 times, last 2 months ago
  4. Benny 616 times, last 4 months ago
  5. adawolfs 10 times, last 4 months ago
7 more registered users
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassCastException

    android.text.SpannableString cannot be cast to java.lang.String

    at android.os.Bundle.getString()
  2. Android Platform
    Intent.getStringExtra
    1. android.os.Bundle.getString(Bundle.java:1085)
    2. android.content.Intent.getStringExtra(Intent.java:4473)
    2 frames
  3. com.saeedFri.groupsms
    ContactsActivity.onCreate
    1. com.saeedFri.groupsms.ContactsActivity.onCreate(ContactsActivity.java:39)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5133)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
    5. android.app.ActivityThread.access$600(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5103)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame