Open utsavDave97 opened 3 years ago
@utsavDave97 got any update for this ?
@prudhvir3ddy no update yet. Sorry. You getting the same exception?
Yes
Are you getting this error on all devices or specific to single device?
i have the same exception, got any update for this ?
No update. But most likely will change the library. @nareshkatta99 @prudhvir3ddy @SilvestreRamirez
It wold be very helpful for us if you provide minimal code to reproduce this error. Will try to resolve ASAP. @utsavDave97 @prudhvir3ddy @SilvestreRamirez
Devices in which this is seen most are Galaxy A50,A51 , moto g-fast, Galaxy S20 5G
I am facing the same issue with Samsung Galaxy S8 running OS 9
I am facing the same issue with Samsung Galaxy M31s
Same issue on Redmi 9A devices
Is there anything we can do to prevent this crash ?
if you trying to compress .tiff image or any unsupported format that Compressor Library do not support that this occurs. put validation before you start to Compress image.
Fatal Exception: java.lang.IllegalStateException: this must not be null at id.zelory.compressor.UtilKt.loadBitmap(Util.kt:34) at id.zelory.compressor.constraint.QualityConstraint.satisfy(QualityConstraint.kt:21) at id.zelory.compressor.Compressor$compress$3.invokeSuspend(Compressor.kt:28) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
any idea why?