{"id":1762,"date":"2022-08-30T15:19:14","date_gmt":"2022-08-30T15:19:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/java-lang-indexoutofboundsexception-getchars-7-0-has-end-before-start-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:19:14","modified_gmt":"2022-08-30T15:19:14","slug":"java-lang-indexoutofboundsexception-getchars-7-0-has-end-before-start-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/java-lang-indexoutofboundsexception-getchars-7-0-has-end-before-start-collection-of-common-programming-errors\/","title":{"rendered":"java.lang.IndexOutOfBoundsException: getChars (7 &hellip; 0) has end before start-Collection of common programming errors"},"content":{"rendered":"<p>My users are sending unhandled exceptions to me via http:\/\/code.google.com\/p\/android-remote-stacktrace\/<\/p>\n<p>I am getting the following but have no idea what it means.<\/p>\n<pre><code>java.lang.IndexOutOfBoundsException: getChars (7 ... 0) has end before start\n   at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:935)\n   at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:847)\n   at android.text.TextUtils.getChars(TextUtils.java:69)\n   at android.text.SpannableStringBuilder.(SpannableStringBuilder.java:59)\n   at android.text.SpannableStringBuilder.subSequence(SpannableStringBuilder.java:839)\n   at android.widget.TextView.extractTextInternal(TextView.java:4541)\n   at android.widget.TextView.reportExtractedText(TextView.java:4580)\n   at android.widget.TextView.finishBatchEdit(TextView.java:4723)\n   at android.widget.TextView.endBatchEdit(TextView.java:4705)\n   at com.android.internal.widget.EditableInputConnection.endBatchEdit(EditableInputConnection.java:54)\n   at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:586)\n   at android.view.inputmethod.BaseInputConnection.commitText(BaseInputConnection.java:174)\n   at com.android.internal.widget.EditableInputConnection.commitText(EditableInputConnection.java:120)\n   at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:231)\n   at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:57)\n   at android.os.Handler.dispatchMessage(Handler.java:99)\n   at android.os.Looper.loop(Looper.java:123)\n   at android.app.ActivityThread.main(ActivityThread.java:4338)\n   at java.lang.reflect.Method.invokeNative(Native Method)\n   at java.lang.reflect.Method.invoke(Method.java:521)\n   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)\n   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)\n   at dalvik.system.NativeStart.main(Native Method)\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-12-02 01:20:14. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>My users are sending unhandled exceptions to me via http:\/\/code.google.com\/p\/android-remote-stacktrace\/ I am getting the following but have no idea what it means. java.lang.IndexOutOfBoundsException: getChars (7 &#8230; 0) has end before start at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:935) at android.text.SpannableStringBuilder.getChars(SpannableStringBuilder.java:847) at android.text.TextUtils.getChars(TextUtils.java:69) at android.text.SpannableStringBuilder.(SpannableStringBuilder.java:59) at android.text.SpannableStringBuilder.subSequence(SpannableStringBuilder.java:839) at android.widget.TextView.extractTextInternal(TextView.java:4541) at android.widget.TextView.reportExtractedText(TextView.java:4580) at android.widget.TextView.finishBatchEdit(TextView.java:4723) at android.widget.TextView.endBatchEdit(TextView.java:4705) at com.android.internal.widget.EditableInputConnection.endBatchEdit(EditableInputConnection.java:54) at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:586) at android.view.inputmethod.BaseInputConnection.commitText(BaseInputConnection.java:174) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1762","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1762","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1762"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1762\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}