java.lang.IndexOutOfBoundsException: setSpan (-26377 ... -26377) starts before 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by bdedardel, 1 year ago
setSpan (-26377 ... -26377) starts before 0
via JIRA by bdedardel, 1 year ago
setSpan (-26377 ... -26377) starts before 0
via GitHub by GoogleCodeExporter
, 2 years ago
setSpan (23 ... 23) ends beyond length 4
via GitHub by door43app
, 1 month ago
setSpan (551 ... 556) ends beyond length 552
via GitHub by door43app
, 1 month ago
setSpan (551 ... 556) ends beyond length 552
java.lang.IndexOutOfBoundsException: setSpan (-26377 ... -26377) starts before 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1021)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:592)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:484)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:435)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:30)
at org.chromium.content.browser.input.AdapterInputConnection.updateState(AdapterInputConnection.java:184)
at org.chromium.content.browser.ContentViewCore.updateImeAdapter(ContentViewCore.java:2322)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:53)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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