java.lang.IndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 183#232161034
    via GitHub by msisinni
    ,
  • GitHub comment 168#142199455
    via GitHub by dkadrikj
    ,
  • Crash after clear amount
    via GitHub by johngray1965
    ,
  • Error when get focus
    via GitHub by igorregis
    ,
    • java.lang.IndexOutOfBoundsException: charAt: 48 >= length 48 at android.text.SpannableStringBuilder.charAt(SpannableStringBuilder.java:114) at com.tokenautocomplete.TokenCompleteTextView$TokenTextWatcher.afterTextChanged(TokenCompleteTextView.java:1319) at android.widget.TextView.sendAfterTextChanged(TextView.java:7842) at android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:10077) at android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:982) at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:509) at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:212) at android.text.SpannableStringBuilder.delete(SpannableStringBuilder.java:30) at android.view.inputmethod.BaseInputConnection.deleteSurroundingText(BaseInputConnection.java:257) at android.view.inputmethod.InputConnectionWrapper.deleteSurroundingText(InputConnectionWrapper.java:76) at com.tokenautocomplete.TokenCompleteTextView$TokenInputConnection.deleteSurroundingText(TokenCompleteTextView.java:1555) at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:451) at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:95) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5633) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:896) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:712) at dalvik.system.NativeStart.main(NativeStart.java)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,