java.lang.IndexOutOfBoundsException
at android.view.RecordingCanvas.drawText(RecordingCanvas.java:406)
at org.autojs.autojs.ui.edit.editor.CodeEditText.drawText(CodeEditText.java:215)
at org.autojs.autojs.ui.edit.editor.CodeEditText.onDraw(CodeEditText.java:114)
at android.view.View.draw(View.java:20366)
at android.view.View.updateDisplayListIfDirty(View.java:19241)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294)
at android.view.View.updateDisplayListIfDirty(View.java:19201)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:690)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:696)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:805)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3524)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3314)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2683)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1635)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7795)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1172)
at android.view.Choreographer.doCallbacks(Choreographer.java:984)
at android.view.Choreographer.doFrame(Choreographer.java:809)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1158)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6863)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Description:
java.lang.IndexOutOfBoundsException at android.view.RecordingCanvas.drawText(RecordingCanvas.java:406) at org.autojs.autojs.ui.edit.editor.CodeEditText.drawText(CodeEditText.java:215) at org.autojs.autojs.ui.edit.editor.CodeEditText.onDraw(CodeEditText.java:114) at android.view.View.draw(View.java:20366) at android.view.View.updateDisplayListIfDirty(View.java:19241) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4321) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4294) at android.view.View.updateDisplayListIfDirty(View.java:19201) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:690) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:696) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:805) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3524) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:3314) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2683) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1635) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7795) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1172) at android.view.Choreographer.doCallbacks(Choreographer.java:984) at android.view.Choreographer.doFrame(Choreographer.java:809) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1158) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6863) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Device info: