Android DeadSystemException [英] Android DeadSystemException

查看:1143
本文介绍了Android DeadSystemException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我们的HockeyApp故障报告中遇到DeadSystemException.它发生在Android 7.0和Android 7.1上.我们在应用程序的先前版本中没有遇到此异常(当前它们都被用户使用),因此我想这个异常是由一些代码更改引起的.但是堆栈跟踪对此不是很有帮助.任何的想法? 感谢您的任何建议.

Currently, we are experiencing a DeadSystemException in our HockeyApp crash reporting. It occurs on Android 7.0 and Android 7.1. We don't experience this exception in the previous version of our application (they are currently both used by users), so I guess this exception is caused by some code change. But stack trace is not very helpful for this. Any idea? Thanks for any suggestions.

HockeyApp的堆栈跟踪:

Stack trace from HockeyApp:

java.lang.RuntimeException: android.os.DeadSystemException
at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3781)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: android.os.DeadSystemException
... 8 more

推荐答案

核心Android系统已死,并且正在运行 重新开始.所有正在运行的应用程序将被立即杀死.

The core Android system has died and is going through a runtime restart. All running apps will be promptly killed.

源代码无济于事:

package android.os;
/**
 * The core Android system has died and is going through a runtime restart. All
 * running apps will be promptly killed.
 */
public class DeadSystemException extends DeadObjectException {
    public DeadSystemException() {
        super();
    }
}


总体来说,这似乎是操作系统抛出的,与我们的代码无关.


Overall, it looks like this is being thrown by the OS and has nothing to do with our code.

从超类DeadObjectException看javadoc可以支持该理论:

Looking at the javadoc from the superclass, DeadObjectException, backs this theory up:

您正在调用的对象已死亡,因为它的托管进程没有 已经存在了.

The object you are calling has died, because its hosting process no longer exists.

这篇关于Android DeadSystemException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆