chrisbanes / Android-BitmapCache

Android-BitmapCache is a specialised cache, for use with Android Bitmap objects.
834 stars 224 forks source link

i test the simple app,IllegalArgumentException #34

Open yaming116 opened 11 years ago

yaming116 commented 11 years ago
E/BitmapCache(20110): Unable to decode stream
E/BitmapCache(20110): java.lang.IllegalArgumentException: Problem decoding into
existing bitmap
E/BitmapCache(20110):   at android.graphics.BitmapFactory.decodeStream(BitmapFac
tory.java:537)
E/BitmapCache(20110):   at uk.co.senab.bitmapcache.BitmapLruCache.decodeBitmap(B
itmapLruCache.java:578)
E/BitmapCache(20110):   at uk.co.senab.bitmapcache.BitmapLruCache.getFromDiskCac
he(BitmapLruCache.java:272)
E/BitmapCache(20110):   at uk.co.senab.bitmapcache.BitmapLruCache.get(BitmapLruC
ache.java:245)
E/BitmapCache(20110):   at uk.co.senab.bitmapcache.samples.NetworkedCacheableIma
geView$ImageUrlAsyncTask.doInBackground(NetworkedCacheableImageView.java:86)
E/BitmapCache(20110):   at uk.co.senab.bitmapcache.samples.NetworkedCacheableIma
geView$ImageUrlAsyncTask.doInBackground(NetworkedCacheableImageView.java:57)
E/BitmapCache(20110):   at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/BitmapCache(20110):   at java.util.concurrent.FutureTask$Sync.innerRun(FutureT
ask.java:305)
E/BitmapCache(20110):   at java.util.concurrent.FutureTask.run(FutureTask.java:1
37)
E/BitmapCache(20110):   at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr
eadPoolExecutor.java:1076)
E/BitmapCache(20110):   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th
readPoolExecutor.java:569)
E/BitmapCache(20110):   at java.lang.Thread.run(Thread.java:856)