You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a NPE reported by Crittercism when using UIL:
0 java.lang.NullPointerException
1 at com.nostra13.universalimageloader.core.ImageLoaderEngine$1.run(ImageLoaderEngine.java:73)
2 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
3 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
4 at java.lang.Thread.run(Thread.java:856)
The issue is on this line. By looking over the source, it doesn't seem possible for a null task to be supplied, so it seems as though the view is being destroyed or the back button is being pressed before the executor runs, so the taskExecutorForCachedImages is null at this point.
I'm running v1.8.3 and the line I linked to is for that version as well. Also, this is all that Crittercism is reporting.
The text was updated successfully, but these errors were encountered:
You mean the task is not null, and the taskExecutorForCachedImages is null?
It's so wired...
I think after you init the ImageLoader, ther executors can't be null...
Is it possible for GC to reclaim the view when the task is accidentally running to the view.setImageXXX?
I'm getting a NPE reported by Crittercism when using UIL:
The issue is on this line. By looking over the source, it doesn't seem possible for a null task to be supplied, so it seems as though the view is being destroyed or the back button is being pressed before the executor runs, so the
taskExecutorForCachedImages
is null at this point.I'm running
v1.8.3
and the line I linked to is for that version as well. Also, this is all that Crittercism is reporting.The text was updated successfully, but these errors were encountered: