java.lang.IndexOutOfBoundsException: setSpan (35 ... 35) ends beyond length 28

/*************************************************************************************
* java.lang.IndexOutOfBoundsException: setSpan (35 ... 35) ends beyond length 28
*
* 说明:
* Browser报错信息。
*
* 2017-12-13 深圳 南山平山村 曾剑锋
************************************************************************************/ 一、参考文档:
. java.lang.IndexOutOfBoundsException: setSpan ( ... ) ends beyond length
http://dev.dafan.info/detail/306361?p=33-18 二、报错信息:
- ::21.776 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::22.670 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::23.504 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::24.982 -/com.android.quicksearchbox I/art: Background partial concurrent mark sweep GC freed (286KB) AllocSpace objects, (0B) LOS objects, % free, 479KB/1503KB, paused .001ms total .532ms
- ::25.009 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::25.065 -/? E/BufferQueueProducer: [PopupWindow:e4bcb23] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
- ::26.146 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::30.111 -/com.android.browser W/IInputConnectionWrapper: endBatchEdit on inactive InputConnection
- ::30.823 -/com.android.browser W/BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid:
- ::40.167 -/com.android.browser E/InputEventReceiver: Exception dispatching input event.
- ::40.167 -/com.android.browser E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback
- ::40.170 -/com.android.browser E/MessageQueue-JNI: java.lang.IndexOutOfBoundsException: setSpan ( ... ) ends beyond length
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:)
at android.text.method.ArrowKeyMovementMethod.onTouchEvent(ArrowKeyMovementMethod.java:)
at android.widget.TextView.onTouchEvent(TextView.java:)
at com.android.browser.UrlInputView.onTouchEvent(UrlInputView.java:)
at android.view.View.dispatchTouchEvent(View.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:)
at android.app.Activity.dispatchTouchEvent(Activity.java:)
at com.android.browser.BrowserActivity.dispatchTouchEvent(BrowserActivity.java:)
at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:)
at android.view.View.dispatchPointerEvent(View.java:)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:)
at android.os.Looper.loop(Looper.java:)
at android.app.ActivityThread.main(ActivityThread.java:)
at java.lang.reflect.Meth
- ::40.171 -/com.android.browser D/AndroidRuntime: Shutting down VM
- ::40.172 -/com.android.browser E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.android.browser, PID:
java.lang.IndexOutOfBoundsException: setSpan ( ... ) ends beyond length
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:)
at android.text.method.ArrowKeyMovementMethod.onTouchEvent(ArrowKeyMovementMethod.java:)
at android.widget.TextView.onTouchEvent(TextView.java:)
at com.android.browser.UrlInputView.onTouchEvent(UrlInputView.java:)
at android.view.View.dispatchTouchEvent(View.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:)
at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:)
at android.app.Activity.dispatchTouchEvent(Activity.java:)
at com.android.browser.BrowserActivity.dispatchTouchEvent(BrowserActivity.java:)
at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:)
at android.view.View.dispatchPointerEvent(View.java:)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:)
at android.os.Looper.loop(Looper.java:)
at android.app.ActivityThre
- ::40.175 -/system_process W/ActivityManager: Force finishing activity com.android.browser/.BrowserActivity
- ::40.255 -/system_process I/OpenGLRenderer: Initialized EGL, version 1.4
- ::40.274 -/? E/BufferQueueProducer: [Application Error: com.android.browser] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
- ::40.696 -/system_process W/ActivityManager: Activity pause timeout for ActivityRecord{a4c1fdf u0 com.android.browser/.BrowserActivity t6 f}
- ::40.707 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::40.722 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::40.723 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::40.751 -/? E/BufferQueueProducer: [com.android.launcher/com.android.launcher2.Launcher] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
- ::40.785 -/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e :com.android.provision/u0a42}?!? Using null instead.
- ::50.732 -/system_process W/ActivityManager: Activity destroy timeout for ActivityRecord{a4c1fdf u0 com.android.browser/.BrowserActivity t6 f}
- ::00.000 -/? E/Internal: device '211c69d4e6b4bd71' not found
上一篇:Git学习笔记(二)分支管理与合并及Bug分支


下一篇:Caused by: java.lang.ClassNotFoundException: org.springframework.data.repository.config.BootstrapMode