Skip to content

存在于子线程的NullPointerException  #2

@KeqingLI

Description

@KeqingLI

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捕获异常范围扩大

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions