We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bugly报错了一些空指针的异常
0.0.50.beta4
vivo 系统版本 Android 12,level 31
否
截屏/视频
`#145156 java.lang.NullPointerException Attempt to invoke virtual method 'android.view.WindowInsetsController android.view.View.getWindowInsetsController()' on a null object reference com.kongzue.dialogx.util.views.FitSystemBarUtils$5.void onGlobalLayout()(FitSystemBarUtils.java:544)`
The text was updated successfully, but these errors were encountered:
请更新至最新的测试版本,因代码更新相关代码在 FitSystemBarUtils.java:544 已经无法找到,针对旧版本存在的问题不再处理
Sorry, something went wrong.
最新测试版同样会出现一样的问题,FitSystemBarUtils.java:586,这部分getDecorView().getWindowInsetsController(),这个getDecorView()确实可能出现空的情况
getDecorView 为空可能的原因在于您在弹出对话框时并未完成初始化,请确保提前完成了初始化操作:
DialogX.init(context)
DialogX 依赖于 activity 界面呈现界面内容,如果您正尝试使用其他实验性的实现方式(DialogX.implIMPLMode不为IMPL_MODE.VIEW)也可能存在影响。
No branches or pull requests
问题描述
bugly报错了一些空指针的异常
DialogX 版本
0.0.50.beta4
设备信息
vivo 系统版本 Android 12,level 31
是否在 Demo 中能复现此问题?
否
问题截图/视频
截屏/视频
错误日志
The text was updated successfully, but these errors were encountered: