My app crashes (at least I see it in Google Play console) with this error. I googled it and I found this https://github.com/andstatus/andstatus/issues/334
Now I'm thinking - how my users were able to enter a soft hyphen into this textbox?
So far it happens only onse. Do I need to worry aboutor ignore it?
Just in case - this is an exception text
Thanks
Now I'm thinking - how my users were able to enter a soft hyphen into this textbox?
So far it happens only onse. Do I need to worry aboutor ignore it?
Just in case - this is an exception text
B4X:
Exception java.lang.IndexOutOfBoundsException: 4, 0
at android.text.PackedIntVector.getValue (PackedIntVector.java:75)
at android.text.DynamicLayout.getLineStart (DynamicLayout.java:1028)
at android.text.Layout.getLineEnd (Layout.java:1676)
at android.text.Layout.getOffsetForHorizontal (Layout.java:1545)
at android.text.Layout.getOffsetForHorizontal (Layout.java:1530)
at android.widget.TextView.getOffsetAtCoordinate (TextView.java:13250)
at android.widget.Editor$InsertionPointCursorController.positionCursorDuringDrag (Editor.java:6365)
at android.widget.Editor$InsertionPointCursorController.performCursorDrag (Editor.java:6441)
at android.widget.Editor$InsertionPointCursorController.onTouchEvent (Editor.java:6344)
at android.widget.Editor.onTouchEvent (Editor.java:1744)
at android.widget.TextView.onTouchEvent (TextView.java:11270)
at android.view.View.dispatchTouchEvent (View.java:14632)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3169)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2845)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3169)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2845)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3169)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2845)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3169)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2845)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3169)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2845)
at com.android.internal.policy.DecorView.superDispatchTouchEvent (DecorView.java:573)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1911)
at android.app.Activity.dispatchTouchEvent (Activity.java:4256)
at com.android.internal.policy.DecorView.dispatchTouchEvent (DecorView.java:521)
at android.view.View.dispatchPointerEvent (View.java:14899)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:6755)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:6526)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:5995)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:6057)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:6018)
at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:6192)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:6026)
at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:6249)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:5999)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:6057)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:6018)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:6026)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:5999)
at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:9034)
at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:8985)
at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:8941)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:9177)
at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:266)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents
at android.view.InputEventReceiver.consumeBatchedInputEvents (InputEventReceiver.java:246)
at android.view.ViewRootImpl.doConsumeBatchedInput (ViewRootImpl.java:9122)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run (ViewRootImpl.java:9263)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1232)
at android.view.Choreographer.doCallbacks (Choreographer.java:1029)
at android.view.Choreographer.doFrame (Choreographer.java:918)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1217)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:233)
at android.os.Looper.loop (Looper.java:344)
at android.app.ActivityThread.main (ActivityThread.java:8212)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1034)
Thanks