-
Notifications
You must be signed in to change notification settings - Fork 170
Description
虽然是不当操作,但是希望可以做一下保护。越做越好
目前测试是必现的,如果不是null的url,而是任意的无效url,传9个url的数组进行展示,就有这个情况。
E/AndroidRuntime: FATAL EXCEPTION: download_task#0
Process: com.netease.nical.nimuikitdemo, PID: 30829
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.next(ArrayList.java:860)
at com.othershe.combinebitmap.helper.BitmapLoader.executeUndoTasks(BitmapLoader.java:217)
at com.othershe.combinebitmap.helper.BitmapLoader.loadBitmapFromHttp(BitmapLoader.java:125)
at com.othershe.combinebitmap.helper.BitmapLoader.loadBitmap(BitmapLoader.java:100)
at com.othershe.combinebitmap.helper.BitmapLoader.access$000(BitmapLoader.java:25)
at com.othershe.combinebitmap.helper.BitmapLoader$1.run(BitmapLoader.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:784)