在开发的时候遇到了这个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多线程之线程阻塞原语LockSupport的使用

    转载请注明原文地址:http://www.cnblogs.com/ygj0930/p/6558597.html  看名字就知道了,LockSupport——提供对加锁机制的支持. 它是提供线程阻塞的原 ...

  2. Valid Number 验证数字

    Validate if a given string is numeric. Some examples:"0" => true" 0.1 " => ...

  3. oracle 拼接字符串的两种方式

      方式一:使用管道符||进行拼接 方式二:使用concat()函数 区别: 方式一可以拼接多个字符串:方式二只能将2个字符串拼接到一起. 写在最后 哪位大佬如若发现文章存在纰漏之处或需要补充更多内容 ...

  4. 如何在eclipse中创建.properties文件

    打开file--new--other 选择general--file--next 选择要建在哪个文件名下,然后在底部的file name后输入properities文件名,finish即可

  5. 【win7 + win server 2008】设置定时任务,设置.bat 文件去执行php脚本 == 用来配合爬虫程序简直不要太爽

    Windows Server 2008中使用计划任务定时执行BAT bat进行PHP脚本的执行 一.首先进行任务管理器设置  每隔1分钟执行.BAT 文件配置 首先Windows Server 200 ...

  6. (原+译)pytorch中保存和载入模型

    转载请注明出处: http://www.cnblogs.com/darkknightzh/p/8108466.html 参考网址: http://pytorch.org/docs/master/not ...

  7. NYOJ------汉诺塔(一)

    汉诺塔(一) 时间限制:1000 ms  |  内存限制:65535 KB 难度:3   描述 在印度,有这么一个古老的传说:在世界中心贝拿勒斯(在印度北部)的圣庙里,一块黄铜板上插着三根宝石针.印度 ...

  8. Java Exceptions

    invalid end header( bad central directory size) 异常描述 java.util.zip.ZipException: invalid END header ...

  9. Swift 封装

    前言 封装主要有两大目的:一是为了我们使用数据更加方便,二是为了数据保护. 1.Swift 访问修饰符 在 Swift 语言中,访问修饰符也分为三类,分别是 private.internal.publ ...

  10. 【struts2】名为dispatcher的ResultType

    1)基本使用 名称为“dispatcher”的ResultType,在struts-default.xml里的配置如下: <result-type name="dispatcher&q ...