Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexOutOfBoundsException cash issue on version 2.3.4 #57

Open
tieren1 opened this issue Aug 1, 2022 · 5 comments
Open

IndexOutOfBoundsException cash issue on version 2.3.4 #57

tieren1 opened this issue Aug 1, 2022 · 5 comments
Assignees
Labels
bug Unexpected behavior or crash that disrupts library usage

Comments

@tieren1
Copy link

tieren1 commented Aug 1, 2022

Hi, noticed this IndexOutOfBoundsException crash on crashlytics after updating the lib to 2.3.4.

Fatal Exception: java.lang.IndexOutOfBoundsException: Index 1, size 0
       at androidx.compose.foundation.lazy.layout.MutableIntervalList.checkIndexBounds(MutableIntervalList.java:177)
       at androidx.compose.foundation.lazy.layout.MutableIntervalList.get(MutableIntervalList.java:160)
       at androidx.compose.foundation.lazy.LazyListItemsSnapshot.getKey(LazyListItemsSnapshot.java:80)
       at androidx.compose.foundation.lazy.LazyListItemProviderImpl.getKey(LazyListItemProviderImpl.java:113)
       at androidx.compose.foundation.lazy.layout.LazyLayoutMeasureScopeImpl.measure-0kLqBqw(LazyLayoutMeasureScopeImpl.java:116)
       at androidx.compose.foundation.lazy.LazyMeasuredItemProvider.getAndMeasure-ZjPyQlc(LazyMeasuredItemProvider.java:47)
       at androidx.compose.foundation.lazy.LazyListMeasureKt.measureLazyList-7Xnphek(LazyListMeasureKt.java:151)
       at androidx.compose.foundation.lazy.LazyListKt$rememberLazyListMeasurePolicy$1$1.invoke-0kLqBqw(LazyListKt.java:304)
       at androidx.compose.foundation.lazy.LazyListKt$rememberLazyListMeasurePolicy$1$1.invoke(LazyListKt.java:197)
       at androidx.compose.foundation.lazy.layout.LazyLayoutKt$LazyLayout$2$1.invoke-0kLqBqw(LazyLayoutKt.java:74)
       at androidx.compose.foundation.lazy.layout.LazyLayoutKt$LazyLayout$2$1.invoke(LazyLayoutKt.java:70)
       at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$createMeasurePolicy$1.measure-3p2s80s(LayoutNodeSubcompositionsState.java:590)
       at androidx.compose.ui.node.InnerPlaceable.measure-BRTryo0(InnerPlaceable.java:44)
       at androidx.compose.foundation.AndroidOverscrollKt$StretchOverscrollNonClippingLayer$2.invoke-3p2s80s(AndroidOverscrollKt.java:535)
       at androidx.compose.foundation.AndroidOverscrollKt$StretchOverscrollNonClippingLayer$2.invoke(AndroidOverscrollKt.java:534)
       at androidx.compose.ui.layout.LayoutModifierImpl.measure-3p2s80s(LayoutModifierImpl.java:285)
       at androidx.compose.ui.node.ModifiedLayoutNode.measure-BRTryo0(ModifiedLayoutNode.java:53)
       at androidx.compose.foundation.AndroidOverscrollKt$StretchOverscrollNonClippingLayer$1.invoke-3p2s80s(AndroidOverscrollKt.java:519)
       at androidx.compose.foundation.AndroidOverscrollKt$StretchOverscrollNonClippingLayer$1.invoke(AndroidOverscrollKt.java:518)
       at androidx.compose.ui.layout.LayoutModifierImpl.measure-3p2s80s(LayoutModifierImpl.java:285)
       at androidx.compose.ui.node.ModifiedLayoutNode.measure-BRTryo0(ModifiedLayoutNode.java:53)
       at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier.measure-3p2s80s(SimpleGraphicsLayerModifier.java:405)
       at androidx.compose.ui.node.ModifiedLayoutNode.measure-BRTryo0(ModifiedLayoutNode.java:53)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1428)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1427)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeMeasureSnapshotReads$ui_release(OwnerSnapshotObserver.java:66)
       at androidx.compose.ui.node.LayoutNode.performMeasure-BRTryo0$ui_release(LayoutNode.java:1427)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.remeasure-BRTryo0(OuterMeasurablePlaceable.java:94)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.measure-BRTryo0(OuterMeasurablePlaceable.java:75)
       at androidx.compose.ui.node.LayoutNode.measure-BRTryo0(LayoutNode.java:1366)
       at androidx.compose.foundation.layout.RowColumnImplKt$rowColumnMeasurePolicy$1.measure-3p2s80s(RowColumnImplKt.java:89)
       at androidx.compose.ui.node.InnerPlaceable.measure-BRTryo0(InnerPlaceable.java:44)
       at androidx.compose.foundation.layout.PaddingModifier.measure-3p2s80s(PaddingModifier.java:364)
       at androidx.compose.ui.node.ModifiedLayoutNode.measure-BRTryo0(ModifiedLayoutNode.java:53)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1428)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1427)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeMeasureSnapshotReads$ui_release(OwnerSnapshotObserver.java:66)
       at androidx.compose.ui.node.LayoutNode.performMeasure-BRTryo0$ui_release(LayoutNode.java:1427)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.remeasure-BRTryo0(OuterMeasurablePlaceable.java:94)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.measure-BRTryo0(OuterMeasurablePlaceable.java:75)
       at androidx.compose.ui.node.LayoutNode.measure-BRTryo0(LayoutNode.java:1366)
       at androidx.compose.foundation.layout.RowColumnImplKt$rowColumnMeasurePolicy$1.measure-3p2s80s(RowColumnImplKt.java:89)
       at androidx.compose.ui.node.InnerPlaceable.measure-BRTryo0(InnerPlaceable.java:44)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1428)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1427)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeMeasureSnapshotReads$ui_release(OwnerSnapshotObserver.java:66)
       at androidx.compose.ui.node.LayoutNode.performMeasure-BRTryo0$ui_release(LayoutNode.java:1427)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.remeasure-BRTryo0(OuterMeasurablePlaceable.java:94)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.measure-BRTryo0(OuterMeasurablePlaceable.java:75)
       at androidx.compose.ui.node.LayoutNode.measure-BRTryo0(LayoutNode.java:1366)
       at me.onebone.toolbar.CollapsingToolbarScaffoldKt$CollapsingToolbarScaffold$2.measure-3p2s80s(CollapsingToolbarScaffoldKt.java:149)
       at androidx.compose.ui.node.InnerPlaceable.measure-BRTryo0(InnerPlaceable.java:44)
       at androidx.compose.foundation.layout.FillModifier.measure-3p2s80s(FillModifier.java:658)
       at androidx.compose.ui.node.ModifiedLayoutNode.measure-BRTryo0(ModifiedLayoutNode.java:53)
       at androidx.compose.foundation.layout.PaddingValuesModifier.measure-3p2s80s(PaddingValuesModifier.java:417)
       at androidx.compose.ui.node.ModifiedLayoutNode.measure-BRTryo0(ModifiedLayoutNode.java:53)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1428)
       at androidx.compose.ui.node.LayoutNode$performMeasure$1.invoke(LayoutNode.java:1427)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeMeasureSnapshotReads$ui_release(OwnerSnapshotObserver.java:66)
       at androidx.compose.ui.node.LayoutNode.performMeasure-BRTryo0$ui_release(LayoutNode.java:1427)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.remeasure-BRTryo0(OuterMeasurablePlaceable.java:94)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.measure-BRTryo0(OuterMeasurablePlaceable.java:75)
       at androidx.compose.ui.node.LayoutNode.measure-BRTryo0(LayoutNode.java:1366)
       at com.google.accompanist.insets.ui.ScaffoldKt$ScaffoldLayout$1$1$1.invoke(ScaffoldKt.java:279)
       at com.google.accompanist.insets.ui.ScaffoldKt$ScaffoldLayout$1$1$1.invoke(ScaffoldKt.java:194)
       at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.java:70)
       at androidx.compose.ui.layout.LayoutNodeSubcompositionsState$createMeasurePolicy$1$measure$1.placeChildren(LayoutNodeSubcompositionsState.java:602)
       at androidx.compose.ui.node.LayoutNode$layoutChildren$1.invoke(LayoutNode.java:968)
       at androidx.compose.ui.node.LayoutNode$layoutChildren$1.invoke(LayoutNode.java:953)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.java:52)
       at androidx.compose.ui.node.LayoutNode.layoutChildren$ui_release(LayoutNode.java:953)
       at androidx.compose.ui.node.LayoutNode.onNodePlaced$ui_release(LayoutNode.java:938)
       at androidx.compose.ui.node.InnerPlaceable.placeAt-f8xVGno(InnerPlaceable.java:79)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.java:370)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.placeOuterWrapper-f8xVGno(OuterMeasurablePlaceable.java:161)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.access$placeOuterWrapper-f8xVGno(OuterMeasurablePlaceable.java:28)
       at androidx.compose.ui.node.OuterMeasurablePlaceable$placeAt$1.invoke(OuterMeasurablePlaceable.java:149)
       at androidx.compose.ui.node.OuterMeasurablePlaceable$placeAt$1.invoke(OuterMeasurablePlaceable.java:148)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.java:59)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.placeAt-f8xVGno(OuterMeasurablePlaceable.java:148)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.java:370)
       at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50$default(Placeable.java:203)
       at androidx.compose.foundation.layout.BoxKt.placeInBox(BoxKt.java:186)
       at androidx.compose.foundation.layout.BoxKt.access$placeInBox(BoxKt.java:1)
       at androidx.compose.foundation.layout.BoxKt$boxMeasurePolicy$1$measure$2.invoke(BoxKt.java:126)
       at androidx.compose.foundation.layout.BoxKt$boxMeasurePolicy$1$measure$2.invoke(BoxKt.java:125)
       at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.java:70)
       at androidx.compose.ui.node.LayoutNode$layoutChildren$1.invoke(LayoutNode.java:968)
       at androidx.compose.ui.node.LayoutNode$layoutChildren$1.invoke(LayoutNode.java:953)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.java:52)
       at androidx.compose.ui.node.LayoutNode.layoutChildren$ui_release(LayoutNode.java:953)
       at androidx.compose.ui.node.LayoutNode.onNodePlaced$ui_release(LayoutNode.java:938)
       at androidx.compose.ui.node.InnerPlaceable.placeAt-f8xVGno(InnerPlaceable.java:79)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer(Placeable.java:393)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer$default(Placeable.java:266)
       at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(SimpleGraphicsLayerModifier.java:407)
       at androidx.compose.ui.graphics.SimpleGraphicsLayerModifier$measure$1.invoke(SimpleGraphicsLayerModifier.java:406)
       at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.java:70)
       at androidx.compose.ui.node.ModifiedLayoutNode.placeAt-f8xVGno(ModifiedLayoutNode.java:101)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeWithLayer-aW-9-wM(Placeable.java:396)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.placeOuterWrapper-f8xVGno(OuterMeasurablePlaceable.java:163)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.access$placeOuterWrapper-f8xVGno(OuterMeasurablePlaceable.java:28)
       at androidx.compose.ui.node.OuterMeasurablePlaceable$placeAt$1.invoke(OuterMeasurablePlaceable.java:149)
       at androidx.compose.ui.node.OuterMeasurablePlaceable$placeAt$1.invoke(OuterMeasurablePlaceable.java:148)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.java:59)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.placeAt-f8xVGno(OuterMeasurablePlaceable.java:148)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelativeWithLayer(Placeable.java:385)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelativeWithLayer$default(Placeable.java:246)
       at androidx.compose.ui.layout.RootMeasurePolicy$measure$2.invoke(RootMeasurePolicy.java:43)
       at androidx.compose.ui.layout.RootMeasurePolicy$measure$2.invoke(RootMeasurePolicy.java:39)
       at androidx.compose.ui.layout.MeasureScope$layout$1.placeChildren(MeasureScope.java:70)
       at androidx.compose.ui.node.LayoutNode$layoutChildren$1.invoke(LayoutNode.java:968)
       at androidx.compose.ui.node.LayoutNode$layoutChildren$1.invoke(LayoutNode.java:953)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutSnapshotReads$ui_release(OwnerSnapshotObserver.java:52)
       at androidx.compose.ui.node.LayoutNode.layoutChildren$ui_release(LayoutNode.java:953)
       at androidx.compose.ui.node.LayoutNode.onNodePlaced$ui_release(LayoutNode.java:938)
       at androidx.compose.ui.node.InnerPlaceable.placeAt-f8xVGno(InnerPlaceable.java:79)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.place-70tqf50(Placeable.java:370)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.placeOuterWrapper-f8xVGno(OuterMeasurablePlaceable.java:161)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.access$placeOuterWrapper-f8xVGno(OuterMeasurablePlaceable.java:28)
       at androidx.compose.ui.node.OuterMeasurablePlaceable$placeAt$1.invoke(OuterMeasurablePlaceable.java:149)
       at androidx.compose.ui.node.OuterMeasurablePlaceable$placeAt$1.invoke(OuterMeasurablePlaceable.java:148)
       at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.java:2101)
       at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.java:110)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeReads$ui_release(OwnerSnapshotObserver.java:78)
       at androidx.compose.ui.node.OwnerSnapshotObserver.observeLayoutModifierSnapshotReads$ui_release(OwnerSnapshotObserver.java:59)
       at androidx.compose.ui.node.OuterMeasurablePlaceable.placeAt-f8xVGno(OuterMeasurablePlaceable.java:148)
       at androidx.compose.ui.layout.Placeable.access$placeAt-f8xVGno(Placeable.java:31)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative(Placeable.java:359)
       at androidx.compose.ui.layout.Placeable$PlacementScope.placeRelative$default(Placeable.java:179)
       at androidx.compose.ui.node.LayoutNode.place$ui_release(LayoutNode.java:811)
       at androidx.compose.ui.node.MeasureAndLayoutDelegate.remeasureAndRelayoutIfNeeded(MeasureAndLayoutDelegate.java:278)
       at androidx.compose.ui.node.MeasureAndLayoutDelegate.access$remeasureAndRelayoutIfNeeded(MeasureAndLayoutDelegate.java:38)
       at androidx.compose.ui.node.MeasureAndLayoutDelegate.measureAndLayout(MeasureAndLayoutDelegate.java:208)
       at androidx.compose.ui.platform.AndroidComposeView.onMeasure(AndroidComposeView.java:806)
       at android.view.View.measure(View.java:27129)
       at androidx.compose.ui.platform.AbstractComposeView.internalOnMeasure$ui_release(AbstractComposeView.java:298)
       at androidx.compose.ui.platform.AbstractComposeView.onMeasure(AbstractComposeView.java:285)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:145)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552)
       at android.widget.LinearLayout.measureVertical(LinearLayout.java:842)
       at android.widget.LinearLayout.onMeasure(LinearLayout.java:721)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:7980)
       at android.widget.FrameLayout.onMeasure(FrameLayout.java:197)
       at com.android.internal.policy.DecorView.onMeasure(DecorView.java:1278)
       at android.view.View.measure(View.java:27129)
       at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:4528)
       at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:3220)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3525)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2911)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:10458)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1108)
       at android.view.Choreographer.doCallbacks(Choreographer.java:866)
       at android.view.Choreographer.doFrame(Choreographer.java:797)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8669)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
@onebone onebone self-assigned this Aug 1, 2022
@onebone onebone added the bug Unexpected behavior or crash that disrupts library usage label Aug 1, 2022
@onebone
Copy link
Owner

onebone commented Aug 1, 2022

Can you reproduce the error? I suspect it is being occurred when measuring the body, but I have no more information than it has LazyColumn inside.

@tieren1
Copy link
Author

tieren1 commented Aug 16, 2022

Unfortunately I was not able to reproduce the error myself. I have got a column encapsulating a lazy column and a conditional UI that is using lambda check as sticky header. I was suspecting it could be due to the lambda probably the recomposition was not triggered and somehow it got changed and onMeasure trying to measure the previous item?

@ArmonSpartan32
Copy link

Wtf

@ArmonSpartan32
Copy link

ArmonSpartan32 commented Jan 15, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior or crash that disrupts library usage
Projects
None yet
Development

No branches or pull requests

4 participants
@onebone @tieren1 @ArmonSpartan32 and others