java.lang.RuntimeException: Unable to start activity ComponentInfo{pt.org.adventistas.infoUPASD/org.appcelerator.titanium.TiTranslucentActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x65. Make sure other views do not use the same id.

GitHub | banobi | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RuntimeException in onRestoreInstanceState()

    GitHub | 5 months ago | smuldr
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tnt.mobile/com.usabilla.sdk.ubform.ui.FeedbackFormActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x1. Make sure other views do not use the same id.
  2. 0

    App Crash when change orientation in android

    Stack Overflow | 3 years ago | No_Name_Code
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.project.dc.activity/com.project.dc.activity.RunFormActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.CompoundButton$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x0. Make sure other views do not use the same id.
  3. 0

    java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x65. Make sure other views do not use the same id.

    GitHub | 2 years ago | banobi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{pt.org.adventistas.infoUPASD/org.appcelerator.titanium.TiTranslucentActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x65. Make sure other views do not use the same id.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x65. Make sure other views do not use the same id.

    GitHub | 9 months ago | banobi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{pt.org.adventistas.infoUPASD/org.appcelerator.titanium.TiTranslucentActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x65. Make sure other views do not use the same id.
  6. 0

    Crash when opening app after being in background for a while

    Stack Overflow | 2 months ago | Jake Moritz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{package_path/package_path.activities.MainActivity}: java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.os.Bundle instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/nav_watching_queue. Make sure other views do not use the same id.
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.IllegalArgumentException

    Wrong state class, expecting View State but received class android.widget.AbsListView$SavedState instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/0x65. Make sure other views do not use the same id.

    at android.view.View.onRestoreInstanceState()
  2. Android Platform
    View.restoreHierarchyState
    1. android.view.View.onRestoreInstanceState(View.java:13003)
    2. android.view.View.dispatchRestoreInstanceState(View.java:12979)
    3. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    4. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    5. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    6. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    7. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    8. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    9. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    10. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815)
    11. android.view.View.restoreHierarchyState(View.java:12957)
    11 frames
  3. Android
    PhoneWindow.restoreHierarchyState
    1. com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1951)
    1 frame
  4. Android Platform
    Activity.onRestoreInstanceState
    1. android.app.Activity.onRestoreInstanceState(Activity.java:976)
    1 frame
  5. org.appcelerator.titanium
    TiBaseActivity.onRestoreInstanceState
    1. org.appcelerator.titanium.TiBaseActivity.onRestoreInstanceState(TiBaseActivity.java:1551)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Activity.performRestoreInstanceState(Activity.java:948)
    2. android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1148)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2232)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2309)
    5. android.app.ActivityThread.access$700(ActivityThread.java:157)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1289)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:176)
    9. android.app.ActivityThread.main(ActivityThread.java:5319)
    9 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame