java.lang.IllegalStateException: Layout state should be one of 100 but it is 10

GitHub | mdtuyen | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [Developer version] Crash when touch Recyclerview

    GitHub | 6 months ago | mdtuyen
    java.lang.IllegalStateException: Layout state should be one of 100 but it is 10
  2. 0

    GitHub comment 315#246166675

    GitHub | 6 months ago | muhezi
    java.lang.IllegalStateException: Added View has RecyclerView as parent but view is not a real child. Unfiltered index:5

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Layout state should be one of 100 but it is 10

      at android.support.v7.widget.RecyclerView$State.assertLayoutStep()
    2. Android v7
      RecyclerView.onTouchEvent
      1. android.support.v7.widget.RecyclerView$State.assertLayoutStep(RecyclerView.java:10477)
      2. android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3277)
      3. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3080)
      4. android.support.v7.widget.RecyclerView.consumePendingUpdateOperations(RecyclerView.java:1478)
      5. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1542)
      6. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2649)
      6 frames
    3. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:8975)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2698)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2410)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      6. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      7. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      20. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      21. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      22. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      23. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      24. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      25. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      26. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      27. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      28. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      29. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      30. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      31. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2425)
      31 frames
    4. Android
      PhoneWindow.superDispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2559)
      2. com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1767)
      2 frames
    5. Android Platform
      Activity.dispatchTouchEvent
      1. android.app.Activity.dispatchTouchEvent(Activity.java:2866)
      1 frame
    6. Android
      MultiPhoneWindow$MultiPhoneDecorView.dispatchTouchEvent
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2520)
      2. com.android.internal.policy.impl.MultiPhoneWindow$MultiPhoneDecorView.dispatchTouchEvent(MultiPhoneWindow.java:537)
      2 frames
    7. Android Platform
      ViewRootImpl$InputStage.apply
      1. android.view.View.dispatchPointerEvent(View.java:9180)
      2. android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4708)
      3. android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4546)
      4. android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4074)
      5. android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4127)
      6. android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4093)
      7. android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4203)
      8. android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4101)
      8 frames