/************************************************************************************* * java.lang.IndexOutOfBoundsException: setSpan (35 ... 35) ends beyond length 28 * * 说明: * Browser报错信息。 * * 2017-12-13 深圳 南山平山村 曾剑锋 ************************************************************************************/ 一、参考文档: 1. java.lang.IndexOutOfBoundsException: setSpan (26 ... 26) ends beyond length 10 http://dev.dafan.info/detail/306361?p=33-18 二、报错信息: 12-13 08:54:21.776 519-663/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:22.670 519-663/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:23.504 519-530/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:24.982 1414-1424/com.android.quicksearchbox I/art: Background partial concurrent mark sweep GC freed 2495(286KB) AllocSpace objects, 0(0B) LOS objects, 68% free, 479KB/1503KB, paused 6.001ms total 17.532ms 12-13 08:54:25.009 519-531/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:25.065 201-1583/? E/BufferQueueProducer: [PopupWindow:e4bcb23] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count 12-13 08:54:26.146 519-665/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:30.111 1522-1522/com.android.browser W/IInputConnectionWrapper: endBatchEdit on inactive InputConnection 12-13 08:54:30.823 1522-1522/com.android.browser W/BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 1522 12-13 08:54:40.167 1522-1522/com.android.browser E/InputEventReceiver: Exception dispatching input event. 12-13 08:54:40.167 1522-1522/com.android.browser E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback 12-13 08:54:40.170 1522-1522/com.android.browser E/MessageQueue-JNI: java.lang.IndexOutOfBoundsException: setSpan (35 ... 35) ends beyond length 28 at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1090) at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:665) at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:658) at android.text.method.ArrowKeyMovementMethod.onTouchEvent(ArrowKeyMovementMethod.java:258) at android.widget.TextView.onTouchEvent(TextView.java:8325) at com.android.browser.UrlInputView.onTouchEvent(UrlInputView.java:132) at android.view.View.dispatchTouchEvent(View.java:9300) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737) at android.app.Activity.dispatchTouchEvent(Activity.java:2771) at com.android.browser.BrowserActivity.dispatchTouchEvent(BrowserActivity.java:292) at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364) at android.view.View.dispatchPointerEvent(View.java:9520) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4240) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4106) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3705) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3671) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3797) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3679) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3854) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3705) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3671) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3679) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5934) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5908) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5869) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6037) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:323) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5422) at java.lang.reflect.Meth 12-13 08:54:40.171 1522-1522/com.android.browser D/AndroidRuntime: Shutting down VM 12-13 08:54:40.172 1522-1522/com.android.browser E/AndroidRuntime: FATAL EXCEPTION: main Process: com.android.browser, PID: 1522 java.lang.IndexOutOfBoundsException: setSpan (35 ... 35) ends beyond length 28 at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1090) at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:665) at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:658) at android.text.method.ArrowKeyMovementMethod.onTouchEvent(ArrowKeyMovementMethod.java:258) at android.widget.TextView.onTouchEvent(TextView.java:8325) at com.android.browser.UrlInputView.onTouchEvent(UrlInputView.java:132) at android.view.View.dispatchTouchEvent(View.java:9300) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2197) at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737) at android.app.Activity.dispatchTouchEvent(Activity.java:2771) at com.android.browser.BrowserActivity.dispatchTouchEvent(BrowserActivity.java:292) at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364) at android.view.View.dispatchPointerEvent(View.java:9520) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4240) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4106) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3705) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3671) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3797) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3679) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3854) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3705) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3671) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3679) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5934) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5908) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5869) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6037) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:323) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThre 12-13 08:54:40.175 519-530/system_process W/ActivityManager: Force finishing activity com.android.browser/.BrowserActivity 12-13 08:54:40.255 519-1459/system_process I/OpenGLRenderer: Initialized EGL, version 1.4 12-13 08:54:40.274 201-1290/? E/BufferQueueProducer: [Application Error: com.android.browser] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count 12-13 08:54:40.696 519-533/system_process W/ActivityManager: Activity pause timeout for ActivityRecord{a4c1fdf u0 com.android.browser/.BrowserActivity t6 f} 12-13 08:54:40.707 519-533/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:40.722 519-533/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:40.723 519-533/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:40.751 201-224/? E/BufferQueueProducer: [com.android.launcher/com.android.launcher2.Launcher] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count 12-13 08:54:40.785 519-663/system_process W/ActivityManager: Wtf, activity ActivityRecord{f468e30 u0 com.android.provision/.DefaultActivity t2 f} in proc activity list not using proc ProcessRecord{e6c758e 1183:com.android.provision/u0a42}?!? Using null instead. 12-13 08:54:50.732 519-533/system_process W/ActivityManager: Activity destroy timeout for ActivityRecord{a4c1fdf u0 com.android.browser/.BrowserActivity t6 f} 01-01 00:00:00.000 0-0/? E/Internal: device '211c69d4e6b4bd71' not found
时间: 2024-11-26 07:57:15