HTC设备中的InputConnectionWrapper.commitText StackOverflowError [英] InputConnectionWrapper.commitText StackOverflowError in HTC devices
问题描述
在HTC D820U中进行调试,发现StackOverflowError. 设备:HTC D820u,Android 6.0,HTC版本:1.0.0.D820u 查看日志:
Debug in HTC D820U, found StackOverflowError. Device: HTC D820u, Android 6.0 ,HTC version:1.0.0.D820u See log:
01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport: java.lang.StackOverflowError:堆栈大小8MB 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:42) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.java:43) 在 android.view.inputmethod.InputConnectionWrapper.commitText(InputConnectionWrapper.java:82) 在 com.android.tools.profiler.support.event.InputConnectionWrapper.commitText(InputConnectionWrapper.j 01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport:
01-11 10:55:33.101 11234-11234/com.xxx 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 01-11 10:55:33.101 11234-11234/com.xxx E/CrashReport:
关于日志,我的应用程序不崩溃. 这是Android的错误吗?还是HTC Rom错误?
About log, No crash about my app. Is this an Android bug? or HTC Rom bug?
推荐答案
我遇到了相同的错误Nexus5.它看起来像是Android分析器错误.您可以通过在运行"配置中禁用高级分析来解决此问题:
I'm getting the same error Nexus 5. Looks like it's Android profiler bug. You can fix it by disabling advanced profiling in Run configuration:
更新:根据问题,该问题应在Android中修复Studio 3.1 Beta 1.
UPDATE: According to issue this should be fixed in Android Studio 3.1 beta 1.
更新2: @ilyamuromets确认要在AS 3.1.1中解决的问题
UPDATE 2: @ilyamuromets confirms issue to be solved in AS 3.1.1
这篇关于HTC设备中的InputConnectionWrapper.commitText StackOverflowError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!