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

Samebug tips

  1. ,
    Expert tip

    This is a bug in UltimateRecyclerView. One workaround is disabling the swipe gesture when the recyclerview is refreshing. Another workaround seems to be not specifying your own ids

  2. ,

    You should use View v = inflater.inflate(R.layout.your_layout, parent, false);

    instead of View v = inflater.inflate(R.layout.your_layout, parent, true);

Solutions on the web

via GitHub by st1hy
, 1 year ago
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
via Stack Overflow by Gabriel Schneider
, 1 year ago
Binary XML file line #9: Binary XML file line #9: Error inflating class fragment
via Stack Overflow by VishAl
, 1 year ago
Binary XML file line #7: Binary XML file line #7: Error inflating class fragment
via GitHub by YanYanLun
, 1 year ago
XML file build\intermediates\res\merged\debug\layout\abc_screen_simple.xml line #-1 (sorry, not yet implemented): XML file build\intermediates\res\merged\debug\layout\abc_screen_simple.xml line #-1 (sorry, not yet implemented): Error inflating class android.support.v7.widget.FitWindowsLinearLayout ```
via Stack Overflow by Anonymous
, 1 month ago
Binary XML file line #0: Binary XML file line #0: Error inflating class ImageView
via Stack Overflow by Seri Namsri
, 2 years ago
Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.internal.view.menu.ExpandedMenuView Logcat : android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.support.v7.internal.view.menu.ExpandedMenuView
java.lang.IllegalStateException: Layout state should be one of 100 but it is 10	at android.support.v7.widget.RecyclerView$State.assertLayoutStep(RecyclerView.java:10477)	at android.support.v7.widget.RecyclerView.dispatchLayoutStep3(RecyclerView.java:3277)	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3080)	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)	at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:817)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at org.robolectric.shadows.ShadowMessageQueue.dispatchMessage(ShadowMessageQueue.java:144)	at org.robolectric.shadows.ShadowMessageQueue.access$100(ShadowMessageQueue.java:30)	at org.robolectric.shadows.ShadowMessageQueue$1.run(ShadowMessageQueue.java:113)	at org.robolectric.util.Scheduler$ScheduledRunnable.run(Scheduler.java:335)	at org.robolectric.util.Scheduler.runOneTask(Scheduler.java:237)	at org.robolectric.util.Scheduler.advanceTo(Scheduler.java:218)	at org.robolectric.util.Scheduler.advanceBy(Scheduler.java:201)	at org.robolectric.util.Scheduler.setIdleState(Scheduler.java:78)	at org.robolectric.util.Scheduler.unPause(Scheduler.java:112)	at org.robolectric.shadows.ShadowLooper.unPause(ShadowLooper.java:291)	at org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:342)	at org.robolectric.shadows.ShadowViewGroup.addView(ShadowViewGroup.java:34)	at android.view.ViewGroup.addView(ViewGroup.java)	at android.view.ViewGroup.addView(ViewGroup.java:4117)	at android.view.LayoutInflater.rInflate(LayoutInflater.java:839)	at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)	at android.view.LayoutInflater.inflate(LayoutInflater.java:515)	at android.view.LayoutInflater.inflate(LayoutInflater.java:423)	at com.github.st1hy.countthemcalories.activities.overview.fragment.presenter.MealsAdapter.onCreateViewHolder(MealsAdapter.java:102)	at com.github.st1hy.countthemcalories.activities.overview.fragment.presenter.MealsAdapter.onCreateViewHolder(MealsAdapter.java:49)	at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5779)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5003)	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)	at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)	at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)	at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)	at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)	at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3069)	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131)	at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)	at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1319)	at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:817)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1191)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)	at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)	at android.widget.FrameLayout.onLayout(FrameLayout.java:273)	at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)	at android.view.View.layout(View.java:16630)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at org.robolectric.shadows.ShadowMessageQueue.dispatchMessage(ShadowMessageQueue.java:144)	at org.robolectric.shadows.ShadowMessageQueue.access$100(ShadowMessageQueue.java:30)	at org.robolectric.shadows.ShadowMessageQueue$1.run(ShadowMessageQueue.java:113)	at org.robolectric.util.Scheduler$ScheduledRunnable.run(Scheduler.java:335)	at org.robolectric.util.Scheduler.runOneTask(Scheduler.java:237)	at org.robolectric.util.Scheduler.advanceTo(Scheduler.java:218)	at org.robolectric.util.Scheduler.advanceBy(Scheduler.java:201)	at org.robolectric.util.Scheduler.setIdleState(Scheduler.java:78)	at org.robolectric.util.Scheduler.unPause(Scheduler.java:112)	at org.robolectric.shadows.ShadowLooper.unPause(ShadowLooper.java:291)	at org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:342)	at org.robolectric.shadows.CoreShadowsAdapter$2.runPaused(CoreShadowsAdapter.java:40)	at org.robolectric.util.ActivityController.visible(ActivityController.java:177)	at org.robolectric.util.ActivityController.setup(ActivityController.java:227)	at org.robolectric.Robolectric.setupActivity(Robolectric.java:96)	at com.github.st1hy.countthemcalories.core.drawer.view.DrawerActivityRoboTest.setUp(DrawerActivityRoboTest.java:58)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)	at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:248)	at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)	at org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)	at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)	at org.junit.runners.Suite.runChild(Suite.java:128)	at org.junit.runners.Suite.runChild(Suite.java:27)	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)