Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String out of bound exception #6

Open
shabbir21 opened this issue Jun 21, 2018 · 0 comments
Open

String out of bound exception #6

shabbir21 opened this issue Jun 21, 2018 · 0 comments

Comments

@shabbir21
Copy link

shabbir21 commented Jun 21, 2018

This issue is occurring on all OPPO devices.
64% --> Android 5.1.1
36% --> Android 5.1

Stack trace:

Fatal Exception: java.lang.StringIndexOutOfBoundsException
length=66; regionStart=713; regionLength=1

java.lang.String.startEndAndLength (String.java:504)
java.lang.String.substring (String.java:1333)
android.text.OppoStaticLayout.oppoGenerate (OppoStaticLayout.java:495)
android.text.DynamicLayout.reflow (DynamicLayout.java:305)
android.text.DynamicLayout.<init> (DynamicLayout.java:171)
android.text.DynamicLayout.<init> (DynamicLayout.java:81)
android.text.DynamicLayout.<init> (DynamicLayout.java:64)
android.text.DynamicLayout.<init> (DynamicLayout.java:50)

io.square1.richtextlib.ui.RichContentView.makeLayout (RichContentView.java:279)
io.square1.richtextlib.ui.RichContentView.onMeasure (RichContentView.java:253)

android.view.View.measure (View.java:17573)
android.support.constraint.ConstraintLayout.internalMeasureChildren (ConstraintLayout.java:1210)
android.support.constraint.ConstraintLayout.onMeasure (ConstraintLayout.java:1550)
android.view.View.measure (View.java:17573)
android.support.v4.widget.NestedScrollView.measureChildWithMargins (NestedScrollView.java:1450)
android.widget.FrameLayout.onMeasure (FrameLayout.java:436)
android.support.v4.widget.NestedScrollView.onMeasure (NestedScrollView.java:516)
android.view.View.measure (View.java:17573)
android.support.constraint.ConstraintLayout.onMeasure (ConstraintLayout.java:1617)
android.view.View.measure (View.java:17573)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:5561)
android.widget.FrameLayout.onMeasure (FrameLayout.java:436)
android.support.v7.widget.ContentFrameLayout.onMeasure (ContentFrameLayout.java:141)
android.view.View.measure (View.java:17573)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:5561)
android.widget.FrameLayout.onMeasure (FrameLayout.java:436)
android.view.View.measure (View.java:17573)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:5561)
android.widget.FrameLayout.onMeasure (FrameLayout.java:436)
android.view.View.measure (View.java:17573)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:5561)
android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1436)
android.widget.LinearLayout.measureVertical (LinearLayout.java:722)
android.widget.LinearLayout.onMeasure (LinearLayout.java:613)
android.view.View.measure (View.java:17573)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:5561)
android.widget.FrameLayout.onMeasure (FrameLayout.java:436)
com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure (PhoneWindow.java:2696)
android.view.View.measure (View.java:17573)
android.view.ViewRootImpl.performMeasure (ViewRootImpl.java:2107)
android.view.ViewRootImpl.measureHierarchy (ViewRootImpl.java:1228)
android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1471)
android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1116)
android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:6098)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:773)
android.view.Choreographer.doCallbacks (Choreographer.java:586)
android.view.Choreographer.doFrame (Choreographer.java:556)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:759)
android.os.Handler.handleCallback (Handler.java:739)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:159)
android.app.ActivityThread.main (ActivityThread.java:5461)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:964)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:759)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant