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

java.lang.IndexOutOfBoundsException: 	at android.graphics.Canvas.drawTextRun(Canvas.java:1802)	at android.text.TextLine.drawTextRun(TextLine.java:991)	at android.text.TextLine.handleText(TextLine.java:789)	at android.text.TextLine.handleRun(TextLine.java:960)	at android.text.TextLine.drawRun(TextLine.java:398)	at android.text.TextLine.draw(TextLine.java:196)	at android.text.Layout.drawText(Layout.java:413)	at android.widget.Editor.drawHardwareAccelerated(Editor.java:1585)	at android.widget.Editor.onDraw(Editor.java:1507)	at android.widget.TextView.onDraw(TextView.java:5715)	at android.view.View.draw(View.java:16178)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at it.gmariotti.cardslib.library.view.ForegroundLinearLayout.draw(ForegroundLinearLayout.java:197)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.updateDisplayListIfDirty(View.java:15169)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.View.draw(View.java:15948)	at android.view.ViewGroup.drawChild(ViewGroup.java:3609)	at android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:4134)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)	at android.view.View.draw(View.java:16181)	at android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3543)	at android.view.View.updateDisplayListIfDirty(View.java:15174)	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)	at android.view.View.updateDisplayListIfDirty(View.java:15134)	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)	at android.view.View.updateDisplayListIfDirty(View.java:15134)	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)	at android.view.View.updateDisplayListIfDirty(View.java:15134)	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)	at android.view.View.updateDisplayListIfDirty(View.java:15134)	at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3593)	at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3573)	at android.view.View.updateDisplayListIfDirty(View.java:15134)