Skip to content
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

存在于子线程的NullPointerException #2

Open
KeqingLI opened this issue May 30, 2018 · 0 comments
Open

存在于子线程的NullPointerException #2

KeqingLI opened this issue May 30, 2018 · 0 comments

Comments

@KeqingLI
Copy link

java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.OutputStream q.rorbin.fastimagesize.cache.DiskLruCache$Editor.newOutputStream(int)' on a null object reference
at q.rorbin.fastimagesize.FastImageSize.putToDiskCache(FastImageSize.java:180)
at q.rorbin.fastimagesize.FastImageSize.putToCache(FastImageSize.java:170)
at q.rorbin.fastimagesize.FastImageSize.get(FastImageSize.java:89)
at q.rorbin.fastimagesize.FastImageSize$1.run(FastImageSize.java:107)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)

希望能找出具体原因或者临时将FastImageSize.putToDiskCache的IOException捕获异常范围扩大

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant