java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kd7uiy.hamfinder/com.kd7uiy.hamfinder.MainSettingsActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

  1. 0

    Default bindPreferenceSummaryToValue crashes for non-string types

    Stack Overflow | 3 years ago | PearsonArtPhoto
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kd7uiy.hamfinder/com.kd7uiy.hamfinder.MainSettingsActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  2. 0

    Unable to access sharedpreference from one class to another

    Stack Overflow | 2 years ago | micky
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  3. 0

    Live wallpaper openGL using SharedPreferences

    Stack Overflow | 2 years ago | micky
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 22#94859280

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

    ClassCastException on TextView setColor method in android

    Stack Overflow | 1 year ago | Isuru
    java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.co.andromedatech.digitalclock/uk.co.andromedatech.digitalclock.MainActivity}: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

  1. Aria Pahlavan 3 times, last 2 weeks ago
  2. Ranjana Dangol 2 times, last 5 months ago
  3. Bardh 2 times, last 6 months ago
  4. dmitry 2 times, last 7 months ago
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

    java.lang.Integer cannot be cast to java.lang.String

    at android.app.SharedPreferencesImpl.getString()
  2. Android Platform
    SharedPreferencesImpl.getString
    1. android.app.SharedPreferencesImpl.getString(SharedPreferencesImpl.java:224)
    1 frame
  3. com.kd7uiy.hamfinder
    MainSettingsActivity.bindPreferenceSummaryToValue
    1. com.kd7uiy.hamfinder.MainSettingsActivity.bindPreferenceSummaryToValue(MainSettingsActivity.java:194)
    1 frame