java.lang.IndexOutOfBoundsException: 98, -81

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

java.lang.IndexOutOfBoundsException: 98, -81
at android.text.PackedIntVector.deleteAt(PackedIntVector.java:218)
at android.text.DynamicLayout.reflow(DynamicLayout.java:308)
at android.text.DynamicLayout.access$000(DynamicLayout.java:41)
at android.text.DynamicLayout$ChangeWatcher.reflow(DynamicLayout.java:650)
at android.text.DynamicLayout$ChangeWatcher.onSpanChanged(DynamicLayout.java:679)
at android.text.SpannableStringBuilder.sendSpanChanged(SpannableStringBuilder.java:1019)
at android.text.SpannableStringBuilder.sendToSpanWatchers(SpannableStringBuilder.java:601)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:532)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:465)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:38)
at android.widget.TextView.paste(TextView.java:9130)
at com.paprbit.dcoder.ui.widget.DcoderEditor.onTextContextMenuItem(DcoderEditor.java:881)
at android.widget.Editor$ActionPopupWindow.onClick(Editor.java:3047)
at android.view.View.performClick(View.java:4825)
at android.view.View$PerformClick.run(View.java:20144)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5537)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)

Users with the same issue

You are the first who have seen this exception.

Write tip

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