java.lang.IndexOutOfBoundsException: setSpan (10 ... 10) ends beyond length 0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Davide Cassenti, 1 year ago
setSpan (10 ... 10) ends beyond length 0
via Appcelerator JIRA by Davide Cassenti, 1 year ago
setSpan (10 ... 10) ends beyond length 0
via GitHub by amelize
, 11 months ago
via GitHub by Abbo44
, 2 months ago
setSpan (201 ... 201) ends beyond length 200
via Stack Overflow by grumpyshoe
, 3 months ago
java.lang.IndexOutOfBoundsException: setSpan (10 ... 10) ends beyond length 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1016)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:592)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:588)
at android.text.Selection.setSelection(Selection.java:76)
at android.text.Selection.setSelection(Selection.java:87)
at ti.modules.titanium.ui.widget.TiUIText.onTextChanged(TiUIText.java:285)
at android.widget.TextView.sendOnTextChanged(TextView.java:7231)
at android.widget.TextView.handleTextChanged(TextView.java:7290)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:8880)
at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:962)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:496)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:435)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:30)
at android.widget.TextView.paste(TextView.java:8275)
at android.widget.TextView.onTextContextMenuItem(TextView.java:8036)
at android.widget.Editor$ActionPopupWindow.onClick(Editor.java:2862)
at android.view.View.performClick(View.java:4204)
at android.view.View$PerformClick.run(View.java:17355)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5041)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
9 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.