在开发的时候遇到了这个Bug:java.lang.StackOverflowError: stack size 8MB
Log:

11-27 14:16:37.093 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: Java Crash Happen cause by main(1)
11-27 14:16:37.183 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: stack frame :9177, has cause false
11-27 14:16:37.353 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: #++++++++++Record By Bugly++++++++++#
11-27 14:16:37.353 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # You can use Bugly(http:\\bugly.qq.com) to get more Crash Detail!
11-27 14:16:37.353 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # PKG NAME: com.xxx.xxx.xxx.debug
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # APP VER: 1.0.2
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # LAUNCH TIME: 2017-11-27 13:04:58
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # CRASH TYPE: JAVA_CRASH
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # CRASH TIME: 2017-11-27 14:16:37
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # CRASH PROCESS: com.xxx.xxx.xxx.debug
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # CRASH THREAD: main
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # REPORT ID: ee60ea58-b46f-4751-b3db-20a3ab1345c5
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # CRASH DEVICE: HTC D820u ROOTED
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # RUNTIME AVAIL RAM:733626368 ROM:4859437056 SD:4859437056
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # RUNTIME TOTAL RAM:1929777152 ROM:9906249728 SD:9906249728
11-27 14:16:37.363 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: # CRASH STACK:
11-27 14:16:37.373 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: java.lang.StackOverflowError: stack size 8MB
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:42)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.j
11-27 14:16:37.383 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: #++++++++++++++++++++++++++++++++++++++++++#
11-27 14:16:37.653 21892-21892/com.xxx.xxx.xxx.debug E/CrashReport: sys default last handle start!
11-27 14:16:37.783 21892-21892/com.xxx.xxx.xxx.debug E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xxx.xxx.xxx.debug, PID: 21892
java.lang.StackOverflowError: stack size 8MB
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:42)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43)
at android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82)
at com.android.tools.

该 Bug 需要继续查找问题所在

Bug:java.lang.StackOverflowError: stack size 8MB的更多相关文章

  1. java.lang.StackOverflowError: stack size 8MB

    java.lang.StackOverflowError: stack size 8MB at android.text.TextUtils.getChars(TextUtils.java:86) a ...

  2. 【Android】java.lang.StackOverflowError: stack size 8MB

    最近遇到的问题,报了两个错误,如下: java.lang.StackOverflowError: stack size 8MB android.os.TransactionTooLargeExcept ...

  3. 错误笔记:Caused by: java.lang.StackOverflowError

    今天在将一个map转化成json出现堆栈异常,排查原因如下:出现循环递归( rootMap.put("rootMap", rootMap);),栈内存肯定耗光 代码: /** * ...

  4. 异常Exception in thread "AWT-EventQueue-XX" java.lang.StackOverflowError

    今天太背了,bug不断,检查到最后都会发现自己脑残了,粗心写错,更悲剧的是写错的时候还不提示错. 刚才有遇到一个问题,抛了这个异常Exception in thread "AWT-Event ...

  5. org.springframework.web.util.NestedServletException : Handler processing failed; nested exception is java.lang.StackOverflowError

    1 ,错误原因,循环冗余检查      result.setNearUsers(userList);            Page page = new Page();            pag ...

  6. java.lang.StackOverflowError解决

    在使用JPA的仓储repository进行查询时,经常用到findAllbyId的方法: repository.findAllbyId() 但如果像下面的代码,当list的size量太大的话,就会报栈 ...

  7. java.lang.OutOfMemoryError: bitmap size exceeds VM budget解决方法

    1 BitmapFactory.decodeFile(imageFile); 用BitmapFactory解码一张图片时,有时会遇到该错误.这往往是由于图片过大造成的.要想正常使用,则需要分配更少的内 ...

  8. 页面上使用 Thymeleaf 的内联js不当造成了 java.lang.StackOverflowError: null 问题

    由于在页面上内联js使用不当,从而在从 Controller 跳转到页面时发生了以下错误: java.lang.StackOverflowError: null at org.thymeleaf.ut ...

  9. Jackson转换对象为json的时候报java.lang.stackoverflowerror

    无论在将一个对象转为json字符串的时候采用何种算法,如果你的对象的属性的类型不是基本类型或对应的引用类型,转换应该都不会就此结束,那么有一种方式可以导致这种转换陷入无限循环:将某个对象的属性设为对象 ...

随机推荐

  1. Java多线程之创建线程的三种方式比较

    转载请注明原文地址:http://www.cnblogs.com/ygj0930/p/6560057.html  一:继承Thread类创建线程 1:继承Thread类定义线程子类: 2:重写run( ...

  2. MySQL中 PK NN UQ BIN UN ZF AI 的意思

    PK   Belongs to primary key作为主键 NN   Not Null非空 UQ  Unique index不能重复 BIN  Is binary column存放二进制数据的列 ...

  3. Linq to entity 执行多个字段排序的方法

    可以连续使用:OrderBy,ThenBy 或者 OrderByDescending,ThenByDescending var data = db.User .Where(u => u.User ...

  4. 《Cocos2d-JS 开发之旅》即将发行,Cocos2d-x联合创始人林顺作序力荐

    受电子工业出版社邀请,经过半年多的酝酿,<Cocos2d-JS 开发之旅>(作者:郑高强)已经出版了,本书详细讲述如何使用Cocos2d-JS制作HTML5游戏和原生手机游戏,另外还有部分 ...

  5. 一个简单的ExtJS搜索建议框

    封装的是一个Ext4.2的组件,继承并兼容于Ext的ComboBox. 实现原理非常easy,在 combo 中监听 keyup 事件就可以. 搜索建议的Combo.基本上全然兼容, 使用方式与Com ...

  6. 饭后来份TempData,瞅瞅有啥料

    原本打算写一篇关于.NET下的分布式缓存的随笔,但是为了举一个实际的运用,就想把控制器(是ASP.NET MVC的)中的Session替换成使用分布式缓存来实现.如果你的网站最后是需要负载均衡的话,这 ...

  7. excel单元格对齐方式

    需要注意下面几点: 1.强制换行,ctrl+回车 2.快速设置缩进,当我们选择需要调整缩进的单元格之后,点击格式---单元格格式---选择水平对齐方式之后,可以选择缩进. 3.注意跨行居中功能,尤其是 ...

  8. python之函数用法startswith()

    # -*- coding: utf-8 -*- #python 27 #xiaodeng #python之函数用法startswith() #http://www.runoob.com/python/ ...

  9. Dlib三维点云示例

    Dlib三维点云示例 源代码来自Dlib的示例代码http://dlib.net/3d_point_cloud_ex.cpp.html 在windows下需要链接winmm``comctl32``gd ...

  10. HP LoadRunner:怎样连接到HP ALM的CAC模式?

    你听说过使用HP LoadRunner连接到HP ALM的CAC模式么?本文给大家讲讲什么是CAC,怎样连接到HP ALM的CAC模式中. CAC是什么? CAC全称是Common Access Ca ...