android.view.InflateException: XML file build/intermediates/res/merged/production/debug/layout/overview_item_bottom_space.xml line #-1 (sorry, not yet implemented): Layout state should be one of 100 but it is 10

GitHub | st1hy | 6 months ago
  1. 0

    IllegalStateException when inflating layout with support library 24

    GitHub | 6 months ago | st1hy
    android.view.InflateException: XML file build/intermediates/res/merged/production/debug/layout/overview_item_bottom_space.xml line #-1 (sorry, not yet implemented): Layout state should be one of 100 but it is 10
  2. 0

    Layout state should be one of 100 but it is 10

    Stack Overflow | 2 months ago | Neon Warge
    java.lang.IllegalStateException: Layout state should be one of 100 but it is 10
  3. 0

    GitHub comment 147#128559043

    GitHub | 1 year ago | hush881025
    java.lang.IllegalStateException: Added View has RecyclerView as parent but view is not a real child. Unfiltered index:0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.IllegalStateException: Added View has RecyclerView as parent but view is not a real child. Unfiltered index:0

    GitHub | 1 year ago | wliu6v
    java.lang.IllegalStateException: Added View has RecyclerView as parent but view is not a real child. Unfiltered index:0
  6. 0

    [Developer version] Crash when touch Recyclerview

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

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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.onLayout
      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.onLayout(RecyclerView.java:3518)
      4 frames
    3. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16630)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      6 frames
    4. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)
      2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)
      4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:817)
      4 frames
    5. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      2 frames
    6. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)
      1 frame
    7. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16630)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      10. android.view.View.layout(View.java:16630)
      11. android.view.ViewGroup.layout(ViewGroup.java:5437)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      14. android.view.View.layout(View.java:16630)
      15. android.view.ViewGroup.layout(ViewGroup.java:5437)
      16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      19. android.view.View.layout(View.java:16630)
      20. android.view.ViewGroup.layout(ViewGroup.java:5437)
      21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      22 frames
    8. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
      1 frame
    9. Android Platform
      Handler.dispatchMessage
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
      7. android.os.Handler.handleCallback(Handler.java:739)
      8. android.os.Handler.dispatchMessage(Handler.java:95)
      8 frames
    10. Roboelectric HTTP
      ShadowMessageQueue$1.run
      1. org.robolectric.shadows.ShadowMessageQueue.dispatchMessage(ShadowMessageQueue.java:144)
      2. org.robolectric.shadows.ShadowMessageQueue.access$100(ShadowMessageQueue.java:30)
      3. org.robolectric.shadows.ShadowMessageQueue$1.run(ShadowMessageQueue.java:113)
      3 frames
    11. Roboelectric
      Scheduler.unPause
      1. org.robolectric.util.Scheduler$ScheduledRunnable.run(Scheduler.java:335)
      2. org.robolectric.util.Scheduler.runOneTask(Scheduler.java:237)
      3. org.robolectric.util.Scheduler.advanceTo(Scheduler.java:218)
      4. org.robolectric.util.Scheduler.advanceBy(Scheduler.java:201)
      5. org.robolectric.util.Scheduler.setIdleState(Scheduler.java:78)
      6. org.robolectric.util.Scheduler.unPause(Scheduler.java:112)
      6 frames
    12. Roboelectric HTTP
      ShadowViewGroup.addView
      1. org.robolectric.shadows.ShadowLooper.unPause(ShadowLooper.java:291)
      2. org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:342)
      3. org.robolectric.shadows.ShadowViewGroup.addView(ShadowViewGroup.java:34)
      3 frames
    13. Android Platform
      LayoutInflater.inflate
      1. android.view.ViewGroup.addView(ViewGroup.java)
      2. android.view.ViewGroup.addView(ViewGroup.java:4117)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:839)
      4. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      6 frames
    14. com.github.st1hy
      MealsAdapter.onCreateViewHolder
      1. com.github.st1hy.countthemcalories.activities.overview.fragment.presenter.MealsAdapter.onCreateViewHolder(MealsAdapter.java:102)
      2. com.github.st1hy.countthemcalories.activities.overview.fragment.presenter.MealsAdapter.onCreateViewHolder(MealsAdapter.java:49)
      2 frames
    15. Android v7
      RecyclerView.onLayout
      1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5779)
      2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5003)
      3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
      4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
      5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
      6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
      7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
      8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)
      9. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)
      10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)
      10 frames
    16. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16630)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      6 frames
    17. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)
      2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)
      4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:817)
      4 frames
    18. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      2 frames
    19. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)
      1 frame
    20. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16630)
      6. android.view.ViewGroup.layout(ViewGroup.java:5437)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      10. android.view.View.layout(View.java:16630)
      11. android.view.ViewGroup.layout(ViewGroup.java:5437)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      14. android.view.View.layout(View.java:16630)
      15. android.view.ViewGroup.layout(ViewGroup.java:5437)
      16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      19. android.view.View.layout(View.java:16630)
      20. android.view.ViewGroup.layout(ViewGroup.java:5437)
      21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      22 frames
    21. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
      1 frame
    22. Android Platform
      Handler.dispatchMessage
      1. android.view.View.layout(View.java:16630)
      2. android.view.ViewGroup.layout(ViewGroup.java:5437)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
      7. android.os.Handler.handleCallback(Handler.java:739)
      8. android.os.Handler.dispatchMessage(Handler.java:95)
      8 frames
    23. Roboelectric HTTP
      ShadowMessageQueue$1.run
      1. org.robolectric.shadows.ShadowMessageQueue.dispatchMessage(ShadowMessageQueue.java:144)
      2. org.robolectric.shadows.ShadowMessageQueue.access$100(ShadowMessageQueue.java:30)
      3. org.robolectric.shadows.ShadowMessageQueue$1.run(ShadowMessageQueue.java:113)
      3 frames
    24. Roboelectric
      Scheduler.unPause
      1. org.robolectric.util.Scheduler$ScheduledRunnable.run(Scheduler.java:335)
      2. org.robolectric.util.Scheduler.runOneTask(Scheduler.java:237)
      3. org.robolectric.util.Scheduler.advanceTo(Scheduler.java:218)
      4. org.robolectric.util.Scheduler.advanceBy(Scheduler.java:201)
      5. org.robolectric.util.Scheduler.setIdleState(Scheduler.java:78)
      6. org.robolectric.util.Scheduler.unPause(Scheduler.java:112)
      6 frames
    25. Roboelectric HTTP
      CoreShadowsAdapter$2.runPaused
      1. org.robolectric.shadows.ShadowLooper.unPause(ShadowLooper.java:291)
      2. org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:342)
      3. org.robolectric.shadows.CoreShadowsAdapter$2.runPaused(CoreShadowsAdapter.java:40)
      3 frames
    26. Roboelectric
      Robolectric.setupActivity
      1. org.robolectric.util.ActivityController.visible(ActivityController.java:177)
      2. org.robolectric.util.ActivityController.setup(ActivityController.java:227)
      3. org.robolectric.Robolectric.setupActivity(Robolectric.java:96)
      3 frames
    27. com.github.st1hy
      DrawerActivityRoboTest.setUp
      1. com.github.st1hy.countthemcalories.core.drawer.view.DrawerActivityRoboTest.setUp(DrawerActivityRoboTest.java:58)
      1 frame
    28. JUnit
      RunAfters.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      5 frames
    29. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:248)
      2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)
      3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)
      3 frames
    30. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    31. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)
      1 frame
    32. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2. org.junit.runners.Suite.runChild(Suite.java:128)
      3. org.junit.runners.Suite.runChild(Suite.java:27)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      9. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      10. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      10 frames
    33. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    34. IDEA
      AppMain.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      3. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      3 frames