-
Notifications
You must be signed in to change notification settings - Fork 316
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
日历崩溃:KotlinNullPointerException #97
Comments
我已经没有混淆日历代码了。加了: 结果还是崩溃: 设备机型: 23013RK75C 系统版本: Android 14,level 34 ROM: XiaoMi/MIUI CPU架构: arm64-v8a
操作步骤是调用切换日期,调用: calendar.jumpDate()的时候崩溃的 |
我终于复现了: kotlin.KotlinNullPointerException 源码位置:
} 不知道是fulcrumDate = null 还是 currentViewInitDate = null 了,最好是别用 ”!!“,否则会有意想不到的惊喜。 我用的是最新版:"6.0.0" 麻烦修复一下,谢谢 |
复现步骤:从其他页面切换到日历页后就崩溃了,偶先,容易在第一次安装使用的时候出现,后面极难出现。
android 系统: android 14
android 机型: 红米K60,其他设备如华为也都出现过。
CPU架构:arm64-v8a
崩溃日志:
com.necer.calendar.NViewPager$a$a.run(Unknown Source:191)
2
android.os.Handler.handleCallback(Handler.java:958)
3
android.os.Handler.dispatchMessage(Handler.java:99)
4
android.os.Looper.loopOnce(Looper.java:205)
5
android.os.Looper.loop(Looper.java:294)
6
android.app.ActivityThread.main(ActivityThread.java:8376)
7
java.lang.reflect.Method.invoke(Native Method)
8
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:640)
9
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:982)
@yannecer 麻烦看看,谢谢
The text was updated successfully, but these errors were encountered: