AppCache
AppCache copied to clipboard
你好作者,我请教下这个DiskLruCache缓存框架的一个bug怎么解决
Attempt to invoke virtual method 'cc.fussen.cache.disklrucache.DiskLruCache$Snapshot cc.fussen.cache.disklrucache.DiskLruCache.get(java.lang.String)' on a null object reference你好作者,我想问这个是原因呢???
传入的key 为空 有可能是回收了 或者
DiskLruCache 没有创建成功,把代码复制到工程里,打个断点看下 就知道原因了
DiskLruCache 在BaseLoade 这个类中创建的。
原始邮件 发件人:[email protected] 收件人:FussenYu/[email protected] 抄送:[email protected] 发送时间:2019年8月13日(周二) 11:31 主题:[FussenYu/AppCache] 你好作者,我请教下这个DiskLruCache缓存框架的一个bug怎么解决 (#11)
Attempt to invoke virtual method 'cc.fussen.cache.disklrucache.DiskLruCache$Snapshot cc.fussen.cache.disklrucache.DiskLruCache.get(java.lang.String)' on a null object reference你好作者,我想问这个是原因呢??? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.