3
回答
FinalBitmap加载图片程序崩溃
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   
12-23 10:14:37.432: E/AndroidRuntime(6496): java.lang.RuntimeException: An error occured while executing doInBackground()
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.core.AsyncTask$3.done(AsyncTask.java:157)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.lang.Thread.run(Thread.java:856)
12-23 10:14:37.432: E/AndroidRuntime(6496): Caused by: java.lang.IllegalStateException: net.tsz.afinal.bitmap.core.SoftMemoryCacheImpl$1.sizeOf() is reporting inconsistent results!
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.bitmap.core.LruMemoryCache.trimToSize(LruMemoryCache.java:140)
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.bitmap.core.LruMemoryCache.put(LruMemoryCache.java:126)
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.bitmap.core.SoftMemoryCacheImpl.put(SoftMemoryCacheImpl.java:42)
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.bitmap.core.BitmapCache.addToMemoryCache(BitmapCache.java:90)
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.FinalBitmap$BitmapLoadAndDisplayTask.doInBackground(FinalBitmap.java:696)
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.FinalBitmap$BitmapLoadAndDisplayTask.doInBackground(FinalBitmap.java:1)
12-23 10:14:37.432: E/AndroidRuntime(6496): at net.tsz.afinal.core.AsyncTask$2.call(AsyncTask.java:145)
12-23 10:14:37.432: E/AndroidRuntime(6496): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

举报
SONAIS
发帖于4年前 3回/2K+阅
顶部