https://pastein.ru/t/_YH
скопируйте уникальную ссылку для отправки
java.lang.IndexOutOfBoundsException: setSpan (15 ... 15) ends beyond length 12
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1325)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:684)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:676)
at android.text.Selection.setSelection(Selection.java:94)
at android.text.Selection.setSelection(Selection.java:78)
at android.text.Selection.setSelection(Selection.java:153)
at android.widget.EditText.setSelection(EditText.java:136)
at ru.ozon.app.android.travel.feature.general.widgets.travelPersonalAccountReplenishment.presentation.TravelPersonalAccountReplenishmentWidgetViewHolder$textWatcher$1.afterTextChanged(SourceFile:12)
at android.widget.TextView.sendAfterTextChanged(TextView.java:10588)
at android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:13429)
at android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:1277)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:577)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:507)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:37)
at android.widget.TextView.paste(TextView.java:12669)
at android.widget.TextView.onTextContextMenuItem(TextView.java:12171)
at androidx.appcompat.widget.AppCompatEditText.onTextContextMenuItem(SourceFile:2)
at android.widget.Editor$ActionPopupWindow.onClick(Editor.java:4664)
at android.view.View.performClick(View.java:7191)
at android.widget.TouchPanelLayout.resetChildState(TouchPanelLayout.java:58)
at android.widget.TouchPanelLayout.dispatchTouchEvent(TouchPanelLayout.java:46)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3141)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2803)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3141)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2803)
at android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent(PopupWindow.java:2581)
at android.view.View.dispatchPointerEvent(View.java:13782)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:5797)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5588)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5085)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5138)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5104)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5244)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5112)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5301)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5085)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5138)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5104)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5112)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5085)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:7921)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:7890)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:7841)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8067)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:250)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:336)
at android.os.Looper.loop(Looper.java:181)
at android.app.ActivityThread.main(ActivityThread.java:7551)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)