-
Notifications
You must be signed in to change notification settings - Fork 12
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
有2个空指针 #6
Comments
这些对象 都是单例的,如果应用发生崩溃再重启的话,肯定会报空的,因为这个工具没有在application里初始化
… 在 2018年8月13日,17:05,shiyuexun ***@***.***> 写道:
用这个库了,但是小米手机一直报错。
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
disklrucache.Util.getCacheDir(Util.java)
还有就是 Cache.with(context)有时候也是空的
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
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 virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
disklrucache.Util.getCacheDir(Util.java)
还有就是 Cache.with(context)有时候也是空的
The text was updated successfully, but these errors were encountered: