val drawable = icon.get().loadDrawable(context) as BitmapDrawable
val bitmap = drawable.bitmap
logger.atInfo().log("bitmap: %s", bitmap.byteCount)
try {
val file = GlideFutures.submit(imageManager.downloadOnly().load(drawable)).await()
logger.atInfo().log("path %s", calculateValue(file))
} catch (e: Exception) {
logger.atSevere().withCause(e).log("Exception %s", e)
}
```
Its failing with error
```
03-30 02:02:35.137 17971 23632 W Glide : Load failed for [android.graphics.Bitmap@2667bdb] with dimensions [-2147483648x-2147483648]
03-30 02:02:35.137 17971 23632 W Glide : class com.bumptech.glide.load.engine.GlideException: Failed to load resource
03-30 02:02:35.138 17971 18252 E ErrorLoggingExecutor: Uncaught exception from runnable
03-30 02:02:35.138 17971 18252 E ErrorLoggingExecutor: class com.bumptech.glide.load.engine.GlideException: Failed to load resource
03-30 02:02:35.138 17971 18252 E ErrorLoggingExecutor: Uncaught exception from runnable
03-30 02:02:35.138 17971 18252 E ErrorLoggingExecutor: class com.bumptech.glide.load.engine.GlideException: Failed to load resource
```
Not seeing any other stackstaces or Glide debug logs.
Its a valid bitmap. How to further debug the rootcause?
Thanks