java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.dictationapp/com.example.user.dictationapp.DictationVocab}: java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.CompoundButton$SavedState

Stack Overflow | karl | 4 months ago
  1. 0

    Get error when back to the previous activity in intent

    Stack Overflow | 4 months ago | karl
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.dictationapp/com.example.user.dictationapp.DictationVocab}: java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.CompoundButton$SavedState
  2. 0

    Unexplainable ClassCastException in android.widget.ProgressBar.onRestoreInstanceState

    Stack Overflow | 4 years ago | MrJre
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.company.myapp/com.mycompany.myapp.activity.MyActivity}: java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.ProgressBar$SavedState
  3. 0

    Do not understand java.lang.ClassCastException error in Android

    Stack Overflow | 4 years ago | Rynardt
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.itse.htsurvey/com.itse.htsurvey.Question2Page2Activity}: java.lang.ClassCastException: android.widget.CompoundButton$SavedState cannot be cast to android.widget.AbsSpinner$SavedState
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    forced to close on screen orientation changes

    Stack Overflow | 5 years ago | manuzhang
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ecnu.sei.manuzhang.study/com.ecnu.sei.manuzhang.study.Main}: java.lang.ClassCastException: android.widget.ExpandableListView$SavedState
  6. 0

    Android: "zoom to fill screen" and "strech to fill screen"

    Stack Overflow | 5 years ago | sebataz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.macchetv.api/com.macchetv.activity.HomeActivity}: java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.AbsListView$SavedState

    4 unregistered visitors
    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.view.AbsSavedState$1 cannot be cast to android.widget.CompoundButton$SavedState

      at android.widget.CompoundButton.onRestoreInstanceState()
    2. Android Platform
      View.restoreHierarchyState
      1. android.widget.CompoundButton.onRestoreInstanceState(CompoundButton.java:378)
      2. android.view.View.dispatchRestoreInstanceState(View.java:12842)
      3. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      4. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      5. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      6. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      7. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      8. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      9. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2658)
      10. android.view.View.restoreHierarchyState(View.java:12820)
      10 frames
    3. Android
      PhoneWindow.restoreHierarchyState
      1. com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1874)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.onRestoreInstanceState(Activity.java:949)
      2. android.app.Activity.performRestoreInstanceState(Activity.java:921)
      3. android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1138)
      4. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2252)
      6. android.app.ActivityThread.access$800(ActivityThread.java:139)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:136)
      10. android.app.ActivityThread.main(ActivityThread.java:5103)
      10 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame