java.lang.IndexOutOfBoundsException: getChars (0 ... 2) 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 GitHub by door43app
, 1 month ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 1 month ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 9 months ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 9 months ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 1 month ago
getChars (0 ... 2) ends beyond length 0
via GitHub by door43app
, 6 months ago
getChars (0 ... 176) ends beyond length 2
java.lang.IndexOutOfBoundsException: getChars (0 ... 2) ends beyond length 0
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1036)
at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:930)
at android.text.TextUtils.getChars(TextUtils.java:87)
at android.text.SpannableStringBuilder.(SpannableStringBuilder.java:69)
at android.text.SpannableStringBuilder.subSequence(SpannableStringBuilder.java:922)
at com.door43.translationstudio.newui.translate.ReviewModeAdapter$23$1.onDrag(ReviewModeAdapter.java:1420)
at android.view.View.dispatchDragEvent(View.java:18695)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewGroup.notifyChildOfDrag(ViewGroup.java:1549)
at android.view.ViewGroup.dispatchDragEvent(ViewGroup.java:1391)
at android.view.ViewRootImpl.handleDragEvent(ViewRootImpl.java:5564)
at android.view.ViewRootImpl.access$1100(ViewRootImpl.java:111)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3717)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5534)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955)

Users with the same issue

Once, 9 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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
9 more bugmates

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