Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by giautm
, 1 year ago
Unable to start activity ComponentInfo{[REMOVED]/[REMOVED].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
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.
via GitHub by sf99
, 3 weeks ago
instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/scrollView. Make sure other views do not use the same id.
via GitHub by KosunaKoizumi
, 1 year 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.
via GitHub by jcnoir
, 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/noResultLayout. Make sure other views do not use the same id.
via GitHub by BishopGIS
, 1 year ago
Unable to start activity ComponentInfo{com.nextgis.safeforest/com.nextgis.safeforest.activity.MainActivity}: java.lang.IllegalArgumentException: No view found for id 0x7f0e009f (com.nextgis.safeforest:id/login_frame) for fragment LoginFragment{41db7498 #0 id=0x7f0e009f NGWLogin}
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/lm_bottom_bar_recents. Make sure other views do not use the same id.	at android.view.View.onRestoreInstanceState(View.java:12998)	at com.roughike.bottombar.BottomBarTab.onRestoreInstanceState(BottomBarTab.java:555)	at android.view.View.dispatchRestoreInstanceState(View.java:12974)	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2756)	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)	at android.view.View.restoreHierarchyState(View.java:12952)	at android.support.v4.app.Fragment.restoreViewState(Fragment.java:477)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1135)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1272)	at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2149)	at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)	at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:600)	at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1174)	at android.app.Activity.performStart(Activity.java:5274)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)