java.lang.IndexOutOfBoundsException

charAt: 0 >= length 0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4041

  • via GitHub by dkadrikj
    , 1 year ago
    charAt: 0 >= length 0
  • charAt: 0 >= length 0
  • charAt: 0 >= length 0
  • Stack trace

    • java.lang.IndexOutOfBoundsException: charAt: 0 >= length 0 at android.text.SpannableStringBuilder.charAt(SpannableStringBuilder.java:114) at com.github.pinball83.maskededittext.MaskedEditText.getUnmaskedText(MaskedEditText.java:198) at com.github.pinball83.maskededittext.MaskedEditText.onTouch(MaskedEditText.java:290) at android.view.View.dispatchTouchEvent(View.java:7708) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2216) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1917) at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2329) at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1568) at android.app.Activity.dispatchTouchEvent(Activity.java:2458) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:63) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2277) at android.view.View.dispatchPointerEvent(View.java:7893) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:3950) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3829) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3395) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3445) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3414) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3521) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3422) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3578) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3395) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3445) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3414) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3422) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3395) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5535)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago