gpt4 book ai didi

android - 线程 "Thread-340"Android + Realm 中的异常

转载 作者:太空狗 更新时间:2023-10-29 13:59:52 24 4
gpt4 key购买 nike

我每次编译我的项目时都会看到这个错误。我目前使用的是旧版本的 Realm。

Exception in thread "Thread-340" java.lang.NullPointerException
at java.security.MessageDigest.update(MessageDigest.java:323)
at java.security.MessageDigest.digest(MessageDigest.java:398)
at io.realm.processor.Utils.sha256Hash(Utils.java:153)
at io.realm.processor.RealmAnalytics.getAnonymousUserId(RealmAnalytics.java:155)
at io.realm.processor.RealmAnalytics.generateJson(RealmAnalytics.java:129)
at io.realm.processor.RealmAnalytics.getUrl(RealmAnalytics.java:125)
at io.realm.processor.RealmAnalytics.send(RealmAnalytics.java:95)
at io.realm.processor.RealmAnalytics.access$000(RealmAnalytics.java:55)
at io.realm.processor.RealmAnalytics$1.run(RealmAnalytics.java:109)
at java.lang.Thread.run(Thread.java:744)
Note: Version 0.88.3 of Realm is now available: http://static.realm.io/downloads/java/latest
Note: Processing class ProjectTaskDB
Note: Processing class ProjectTaskDBList
Note: Creating DefaultRealmModule
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

最佳答案

您遇到的错误已报告为 resolved .您可以尝试将 Realm 升级到最新版本。

article可能与您相关。

关于android - 线程 "Thread-340"Android + Realm 中的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36637694/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com