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 GitHub by billdacat
, 1 year ago
getChars (-1 ... 0) starts before 0
via GitHub by thelong1EU
, 6 months ago
getChars (-1 ... 46) starts before 0
via GitHub by rossica
, 1 month ago
getChars (20 ... 24) ends beyond length 20
via Google Groups by Impactdni, 2 years ago
getChars (13 ... 0) has end before start
java.lang.IndexOutOfBoundsException: getChars (-1 ... 0) starts before 0	at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1270)	at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:1147)	at android.text.TextUtils.getChars(TextUtils.java:89)	at android.text.TextUtils.substring(TextUtils.java:280)	at android.view.inputmethod.BaseInputConnection.getSelectedText(BaseInputConnection.java:531)	at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:300)	at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:91)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:154)	at android.app.ActivityThread.main(ActivityThread.java:6077)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)