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

/*************************************************************************************
 *    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

java.lang.IndexOutOfBoundsException: setSpan (35 ... 35) ends beyond length 28的相关文章

android-安卓程序提示java.lang.IndexOutOfBoundsException

问题描述 安卓程序提示java.lang.IndexOutOfBoundsException 这是java代码 @Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button btn=(Button) this.findViewById(R.id.btn3); Spanna

启动tomcat时报java.lang.IndexOutOfBoundsException

问题描述 解决方案 解决方案二:设置一下运行参数即可(把内存设置大点就好了)http://blog.sina.com.cn/s/blog_61fbf8d101015r1z.html 解决方案三:没用啊...解决方案四:把tomcat配置文件service.xml中的相关内容注解掉试试:<!–<Connectorport="8009"protocol="AJP/1.3"redirectPort="8443"/>–>解决方案五

java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0

就是数组越界了,意思是你某个地方调用了数组的下标为3但是这个数组的实际大小是0.所以有这种错误.你检查一下你的代码看哪里调用某个数组.

exception-升级ssh整合出现错误java.lang.NoSuchMethodError:

问题描述 升级ssh整合出现错误java.lang.NoSuchMethodError: 下面是控制台打印的信息,麻烦看到的高手帮忙解决: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [cn/com/hope/framework/spring/appl

java.lang.NullPointerException 求帮忙 。。。。。

问题描述 java.lang.NullPointerException 求帮忙 ..... 大神们给我看看为啥空指针吧 2015-05-25 16:20:32,830 ERROR [500.jsp] 72 - <> java.lang.NullPointerException at org.hibernate.hql.ast.util.SessionFactoryHelper.findSQLFunction(SessionFactoryHelper.java:365) at org.hiber

java.lang.VerifyError

public class VerifyErrorextends LinkageError Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem.  后来在网上查到底这个错误是什么意思呢?这个错误指的是类是没有错误但是版本不统一,这让我更困惑了,这是自己写的一个类怎么

TreeMap cannot be cast to java.lang.Comparable

    /** * Constructs a new, empty tree map, using the natural ordering of its * keys. All keys inserted into the map must implement the {@link * Comparable} interface. Furthermore, all such keys must be * <i>mutually comparable</i>: <tt>

nutch 2.2.1 运行报错InjectorJob: java.lang.RuntimeException: job failed: name=inject

问题描述 在windows下的eclipse中运行报错,如下,求各位大神帮帮忙,本人小白一个,急急急急InjectorJob:startingat2014-06-2615:45:36InjectorJob:InjectingurlDir:urlsInjectorJob:Usingclassorg.apache.gora.memory.store.MemStoreastheGorastorageclass.****file:/D:/workspace/nutchTest/urlsInjectorJ

axis-AxisFault 错误 java.lang.NullPointerException

问题描述 AxisFault 错误 java.lang.NullPointerException 报错行是UserInfo userinfo = (UserInfo) call.invoke(new Object[] {sid,sysno,ip }); AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.N