Bug P3
Status Update
Comments
ju...@google.com <ju...@google.com>
di...@google.com <di...@google.com>
jl...@google.com <jl...@google.com> #2
Hi @ae...@google.com, I would not expect: RootForTest.semanticsOwner.getAllSemanticsNodes(...)
to get the above exception.
Can you advice ?
Description
FATAL EXCEPTION: main
Process:
java.lang.IllegalStateException: merge function called on unmergeable property PaneTitle.
at androidx.compose.ui.semantics.SemanticsProperties$PaneTitle$1.invoke(SemanticsProperties.kt:63)
at androidx.compose.ui.semantics.SemanticsProperties$PaneTitle$1.invoke(SemanticsProperties.kt:62)
at androidx.compose.ui.semantics.SemanticsPropertyKey.merge(SemanticsProperties.kt:362)
at androidx.compose.ui.semantics.SemanticsConfiguration.mergeChild$ui_release(SemanticsConfiguration.kt:93)
at androidx.compose.ui.semantics.SemanticsNode.mergeConfig(SemanticsNode.kt:192)
at androidx.compose.ui.semantics.SemanticsNode.getConfig(SemanticsNode.kt:179)
at androidx.compose.ui.inspection.inspector.LayoutInspectorTree.collectSemantics(LayoutInspectorTree.kt:158)
at androidx.compose.ui.inspection.inspector.LayoutInspectorTree.convert(LayoutInspectorTree.kt:118)
at androidx.compose.ui.inspection.compose.AndroidComposeViewWrapper.<init>(AndroidComposeViewWrapper.kt:116)
at androidx.compose.ui.inspection.compose.AndroidComposeViewWrapper$Companion.tryCreateFor(AndroidComposeViewWrapper.kt:88)
at androidx.compose.ui.inspection.ComposeLayoutInspector.getAndroidComposeViews(ComposeLayoutInspector.kt:394)
at androidx.compose.ui.inspection.ComposeLayoutInspector.access$getAndroidComposeViews(ComposeLayoutInspector.kt:68)
at androidx.compose.ui.inspection.ComposeLayoutInspector$getComposableNodes$data$1.invoke(ComposeLayoutInspector.kt:336)
at androidx.compose.ui.inspection.ComposeLayoutInspector$getComposableNodes$data$1.invoke(ComposeLayoutInspector.kt:333)
at androidx.compose.ui.inspection.util.ThreadUtils.runOnMainThread$lambda$0(ThreadUtils.kt:47)
at androidx.compose.ui.inspection.util.ThreadUtils.$r8$lambda$Swk5t787Ce1Gi7FrlfK3DqwSj3Q(Unknown Source:0)
at androidx.compose.ui.inspection.util.ThreadUtils$$ExternalSyntheticLambda0.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
i opened up AS stable and launched the app and now no more crashing