java.lang.IllegalStateException: SelectionLayout must not be empty.
Closed this issue · 0 comments
levinli303 commented
Xperia 10 IV, Android 14
https://issuetracker.google.com/issues/325307463
androidx.compose.foundation.text.selection.SelectionLayoutBuilder.build SelectionLayoutBuilder.java:449
androidx.compose.foundation.text.selection.SelectionManager.getSelectionLayout-Wko1d7g SelectionManager.java:796
androidx.compose.foundation.text.selection.SelectionManager.updateSelection-jyLRC_s$foundation_release SelectionManager.java:753
androidx.compose.foundation.text.selection.SelectionManager.updateSelection-qNKwrvQ$foundation_release SelectionManager.java:716
androidx.compose.foundation.text.selection.SelectionManager$4.invoke-pGV3PM0 SelectionManager.java:291
androidx.compose.foundation.text.selection.SelectionManager$4.invoke SelectionManager.java:278
androidx.compose.foundation.text.selection.SelectionRegistrarImpl.notifySelectionUpdate-njBpvok SelectionRegistrarImpl.java:209
androidx.compose.foundation.text.modifiers.SelectionControllerKt$makeSelectionModifier$longPressDragObserver$1.onDrag-k-4lQ0M SelectionControllerKt.java:217
androidx.compose.foundation.text.selection.SelectionGesturesKt$touchSelection$2.invoke SelectionGesturesKt.java:124
androidx.compose.foundation.text.selection.SelectionGesturesKt$touchSelection$2.invoke SelectionGesturesKt.java:123
androidx.compose.foundation.gestures.DragGestureDetectorKt.drag-jO51t88 DragGestureDetectorKt.java:114
androidx.compose.foundation.gestures.DragGestureDetectorKt$drag$1.invokeSuspend DragGestureDetectorKt.java
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith BaseContinuationImpl.java:33
kotlinx.coroutines.DispatchedTaskKt.resume DispatchedTaskKt.java:179
kotlinx.coroutines.CancellableContinuationImpl.takeState$kotlinx_coroutines_core CancellableContinuationImpl.java:168
kotlinx.coroutines.DispatchedTaskKt.dispatch DispatchedTaskKt.java:168
kotlinx.coroutines.CancellableContinuationImpl.dispatchResume CancellableContinuationImpl.java:474
kotlinx.coroutines.CancellableContinuationImpl.resumeImpl CancellableContinuationImpl.java:508
kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default CancellableContinuationImpl.java:497
kotlinx.coroutines.CancellableContinuationImpl.resumeWith CancellableContinuationImpl.java:368
androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl$PointerEventHandlerCoroutine.offerPointerEvent SuspendingPointerInputModifierNodeImpl.java:665
androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.dispatchPointerEvent SuspendingPointerInputModifierNodeImpl.java:544
androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.onPointerEvent-H0pRuoY SuspendingPointerInputModifierNodeImpl.java:566
androidx.compose.ui.input.pointer.Node.dispatchMainEventPass Node.java:317
androidx.compose.ui.input.pointer.Node.dispatchMainEventPass Node.java:303
androidx.compose.ui.input.pointer.Node.dispatchMainEventPass Node.java:303
androidx.compose.ui.input.pointer.Node.dispatchMainEventPass Node.java:303
androidx.compose.ui.input.pointer.Node.dispatchMainEventPass Node.java:303
androidx.compose.ui.input.pointer.NodeParent.dispatchMainEventPass NodeParent.java:185
androidx.compose.ui.input.pointer.HitPathTracker.dispatchChanges HitPathTracker.java:104
androidx.compose.ui.input.pointer.PointerInputEventProcessor.process-BIzXfog PointerInputEventProcessor.java:113
androidx.compose.ui.platform.AndroidComposeView.sendMotionEvent-8iAsVTc AndroidComposeView.java:1576
androidx.compose.ui.platform.AndroidComposeView.handleMotionEvent-8iAsVTc AndroidComposeView.java:1527
androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent AndroidComposeView.java:1466
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
android.view.ViewGroup.dispatchTransformedTouchEvent ViewGroup.java:3120
android.view.ViewGroup.dispatchTouchEvent ViewGroup.java:2801
com.android.internal.policy.DecorView.superDispatchTouchEvent DecorView.java:500
com.android.internal.policy.PhoneWindow.superDispatchTouchEvent PhoneWindow.java:1910
android.app.Activity.dispatchTouchEvent Activity.java:4377
androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent WindowCallbackWrapper.java:70
androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.dispatchTouchEvent AppCompatDelegateImpl.java
com.android.internal.policy.DecorView.dispatchTouchEvent DecorView.java:458
android.view.View.dispatchPointerEvent View.java:15931
android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent ViewRootImpl.java:7037
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess ViewRootImpl.java:6833
android.view.ViewRootImpl$InputStage.deliver ViewRootImpl.java:6247
android.view.ViewRootImpl$InputStage.onDeliverToNext ViewRootImpl.java:6304
android.view.ViewRootImpl$InputStage.forward ViewRootImpl.java:6270
android.view.ViewRootImpl$AsyncInputStage.forward ViewRootImpl.java:6435
android.view.ViewRootImpl$InputStage.apply ViewRootImpl.java:6278
android.view.ViewRootImpl$AsyncInputStage.apply ViewRootImpl.java:6492
android.view.ViewRootImpl$InputStage.deliver ViewRootImpl.java:6251
android.view.ViewRootImpl$InputStage.onDeliverToNext ViewRootImpl.java:6304
android.view.ViewRootImpl$InputStage.forward ViewRootImpl.java:6270
android.view.ViewRootImpl$InputStage.apply ViewRootImpl.java:6278
android.view.ViewRootImpl$InputStage.deliver ViewRootImpl.java:6251
android.view.ViewRootImpl.deliverInputEvent ViewRootImpl.java:9238
android.view.ViewRootImpl.doProcessInputEvents ViewRootImpl.java:9189
android.view.ViewRootImpl.enqueueInputEvent ViewRootImpl.java:9153
android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent ViewRootImpl.java:9364
android.view.InputEventReceiver.dispatchInputEvent InputEventReceiver.java:268
android.view.InputEventReceiver.nativeConsumeBatchedInputEvents InputEventReceiver.java:-2
android.view.InputEventReceiver.consumeBatchedInputEvents InputEventReceiver.java:248
android.view.ViewRootImpl.doConsumeBatchedInput ViewRootImpl.java:9321
android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run ViewRootImpl.java:9455
android.view.Choreographer$CallbackRecord.run Choreographer.java:1425
android.view.Choreographer$CallbackRecord.run Choreographer.java:1434
android.view.Choreographer.doCallbacks Choreographer.java:1037
android.view.Choreographer.doFrame Choreographer.java:958
android.view.Choreographer$FrameDisplayEventReceiver.run Choreographer.java:1408
android.os.Handler.handleCallback Handler.java:958
android.os.Handler.dispatchMessage Handler.java:99
android.os.Looper.loopOnce Looper.java:205
android.os.Looper.loop Looper.java:294
android.app.ActivityThread.main ActivityThread.java:8223
java.lang.reflect.Method.invoke Method.java:-2
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:552
com.android.internal.os.ZygoteInit.main ZygoteInit.java:977