java.lang.StringIndexOutOfBoundsException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 10#241404418
    via GitHub by JigneshPatel23
    ,
    • java.lang.StringIndexOutOfBoundsException: length=2042; regionStart=332; regionLength=-219 at java.lang.String.startEndAndLength(String.java:593) at java.lang.String.getChars(String.java:902) at android.text.SpannableStringInternal.getChars(SpannableStringInternal.java:70) at android.text.TextUtils.getChars(TextUtils.java:70) at android.text.TextLine.set(TextLine.java:150) at android.text.Layout.getLineExtent(Layout.java:941) at android.text.Layout.draw(Layout.java:405) at android.widget.TextView.onDraw(TextView.java:4977) at android.view.View.draw(View.java:10880) at android.view.View.buildDrawingCache(View.java:10597) at android.view.ViewGroup.onAnimationStart(ViewGroup.java:2377) at android.view.ViewGroup.drawChild(ViewGroup.java:2660) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) at android.view.View.draw(View.java:10883) at android.view.ViewGroup.drawChild(ViewGroup.java:2899) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) at android.view.ViewGroup.drawChild(ViewGroup.java:2897) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) at android.view.ViewGroup.drawChild(ViewGroup.java:2897) at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2495) at android.view.View.draw(View.java:10883) at android.widget.FrameLayout.draw(FrameLayout.java:450) at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2106) at android.view.ViewRootImpl.draw(ViewRootImpl.java:2005) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1613) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2418) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4340) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Unknown User
    36 times, last one,
    winer222
    6 times, last one,
    Indri Yunita
    7 times, last one,
    filpgame
    2 times, last one,
    Alexandru Popa
    39 times, last one,
    19 more bugmates