Open touhonoob opened 9 years ago
Same here with latest version.
java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.FileInputStream com.koushikdutta.async.util.FileCache.get(java.lang.String)' on a null object reference
at com.koushikdutta.ion.LoadDeepZoom$1.run(LoadDeepZoom.java:69)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
I could see this happening with a filename that ends with an upper case GIF. Renaming the file helped...
Probably calling ion with the filename.toLowerCase ()
is a workaround for that... haven't tried it yet though, but will try this soon
Still got this problem with latest version. Anyone help?
The issue is caused by loading local animated gif resource Uri with DeepZoom https://github.com/koush/ion/blob/master/ion/src/com/koushikdutta/ion/LoadDeepZoom.java#L64