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.


Solutions on the web58131

Solution icon of github
$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.

Solution icon of github
$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.

Solution icon of github
$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.

Solution icon of github
$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/tableView. Make sure other views do not use the same id.

Solution icon of stackoverflow
happens when two views of different type have the same id in the same hierarchy. This view's id is id/profile_listView_1. Make sure other views do not use the same id.

Solution icon of github
via GitHub by Luparion
, 1 year ago
$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/tableView. Make sure other views do not use the same id.

Solution icon of github
via GitHub by erickok
, 1 year ago
. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/searchresults_list. Make sure other views do not use the same id.

Solution icon of github
via GitHub by BishopGIS
, 1 year ago
usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/menu_refresh. Make sure other views do not use the same id.

Solution icon of github
via GitHub by KosunaKoizumi
, 4 months ago
android.support.design.widget.CustomBottomNavigationView$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/bottom_navigation. Make sure other views do not use the same id.

Solution icon of github
via GitHub by maxme
, 1 year ago
$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/menu_search. Make sure other views do not use the same id.

Stack trace

  • 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. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2255) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2309) at android.app.ActivityThread.access$700(ActivityThread.java:157) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1289) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5319) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) at dalvik.system.NativeStart.main(Native Method) Caused by: 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(View.java:13003) at android.view.View.dispatchRestoreInstanceState(View.java:12979) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2815) at android.view.View.restoreHierarchyState(View.java:12957) at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1951) at android.app.Activity.onRestoreInstanceState(Activity.java:976) at org.appcelerator.titanium.TiBaseActivity.onRestoreInstanceState(TiBaseActivity.java:1551) at android.app.Activity.performRestoreInstanceState(Activity.java:948) at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1148) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2232) ... 11 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

6 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
2 more bugmates