-
Notifications
You must be signed in to change notification settings - Fork 270
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
升级新版本后 部分手机出现X5WebView初始化时空指针异常 #108
Comments
same problem here |
如果X5未初始化完成前,调用了代码就会报这个错 |
X5 内核没加载成功就会这样。我也碰到了 |
这个问题该怎么弄呢? |
点进去,然后把setDayOrNight的实现改成super.setDayOrNight; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void com.tencent.smtt.export.external.extension.interfaces.IX5WebSettingsExtension.setDayOrNight(boolean)' on a null object reference
at com.ycbjie.webviewlib.view.BaseWebView.setDayOrNight(Unknown Source:4)
at com.ycbjie.webviewlib.view.X5WebView.initWebViewSettings(Unknown Source:94)
at com.ycbjie.webviewlib.view.X5WebView.(Unknown Source:3)
The text was updated successfully, but these errors were encountered: