trello-archive / RxLifecycle

Lifecycle handling APIs for Android apps using RxJava
Apache License 2.0
7.71k stars 638 forks source link

java.lang.IllegalArgumentException: #337

Open diorslau opened 2 years ago

diorslau commented 2 years ago

java.lang.IllegalArgumentException: at android.view.View.onRestoreInstanceState (View.java:21606) at android.view.View.dispatchRestoreInstanceState (View.java:21578) at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4693) at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4699) at android.view.View.restoreHierarchyState (View.java:21556) at androidx.fragment.app.Fragment.restoreViewState (Fragment.java:639) at androidx.fragment.app.Fragment.restoreViewState (Fragment.java:3010) at androidx.fragment.app.Fragment.performActivityCreated (Fragment.java:3001) at androidx.fragment.app.FragmentStateManager.activityCreated (FragmentStateManager.java:580) at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:285) at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:112) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1647) at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3128) at androidx.fragment.app.FragmentManager.dispatchActivityCreated (FragmentManager.java:3072) at androidx.fragment.app.Fragment.performActivityCreated (Fragment.java:3002) at androidx.fragment.app.FragmentStateManager.activityCreated (FragmentStateManager.java:580) at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:285) at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:112) at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1647) at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3128) at androidx.fragment.app.FragmentManager.dispatchActivityCreated (FragmentManager.java:3072) at androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java:251) at androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java:502) at androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java:246) at com.trello.rxlifecycle2.components.support.RxAppCompatActivity.onStart (RxAppCompatActivity.java:66) at android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1433) at android.app.Activity.performStart (Activity.java:7978) at android.app.ActivityThread.handleStartActivity (ActivityThread.java:3512) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:221) at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:201) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:173) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2175) at android.os.Handler.dispatchMessage (Handler.java:107) at android.os.Looper.loop (Looper.java:237) at android.app.ActivityThread.main (ActivityThread.java:7860) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1075)