Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在错误统计里面收到的日志,在Activity的onDestroy里面使用binding闪退 #68

Open
sceneren opened this issue Feb 4, 2024 · 0 comments

Comments

@sceneren
Copy link

sceneren commented Feb 4, 2024

Exception java.lang.RuntimeException:
at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5478)
at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5507)
at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:44)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2328)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:255)
at android.app.ActivityThread.main (ActivityThread.java:8212)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1049)
Caused by kotlin.UninitializedPropertyAccessException: lateinit property _binding has not been initialized
at com.dylanc.viewbinding.base.ActivityBindingDelegate.getBinding (ActivityBinding.kt:34)
at com.saio.base.core.activity.BaseActivity.getBinding
at com.saio.login.activity.RegisterAct.onDestroy (RegisterAct.kt:119)
at android.app.Activity.performDestroy (Activity.java:8404)
at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1344)
at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5463)

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant