java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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/tab_notifications. Make sure other views do not use the same id. at android.view.View.onRestoreInstanceState(View.java:12036) at com.roughike.bottombar.BottomBarTab.onRestoreInstanceState(BottomBarTab.java:555) at android.view.View.dispatchRestoreInstanceState(View.java:12012) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2645) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2651) at android.view.View.restoreHierarchyState(View.java:11990) at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1826) at android.app.Activity.onRestoreInstanceState(Activity.java:949) at android.app.Activity.performRestoreInstanceState(Activity.java:921) at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1145) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2070) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117) at android.app.ActivityThread.access$700(ActivityThread.java:134) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1218) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4867) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774) at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

jkjk
2 times, last one,
martynmartyn
2 times, last one,
Unknown visitor
Unknown visitor1 times, last one,
Unknown visitor
Unknown visitor1 times, last one,
maxximaxxi
6 times, last one,
2 more bugmates