bamlab/react-native-image-resizer

An error occurred while executing doInBackground()

smali-kazmi opened this issue · 2 comments

Hi,

I am getting this error on bugsnag in my project

java.lang.RuntimeException · An error occurred while executing doInBackground()
RawAsyncTask.java:354 
android.os.AsyncTask$3.doneFutureTask.java:383 
java.util.concurrent.FutureTask.finishCompletionFutureTask.java:252 
java.util.concurrent.FutureTask.setExceptionFutureTask.java:271 
java.util.concurrent.FutureTask.runThreadPoolExecutor.java:1167 
java.util.concurrent.ThreadPoolExecutor.runWorkerThreadPoolExecutor.java:641 
java.util.concurrent.ThreadPoolExecutor$Worker.runThread.java:764 java.lang.Thread.runCaused 
By: java.lang.IllegalArgumentException · quality must be 0..100Bitmap.java:1633 
android.graphics.Bitmap.compressImageResizer.java:221 
fr.bamlab.rnimageresizer.ImageResizer.saveImageImageResizerModule.java:94 
fr.bamlab.rnimageresizer.ImageResizerModule.createResizedImageWithExceptionsImageResizerModule.java:27 
fr.bamlab.rnimageresizer.ImageResizerModule.access$000ImageResizerModule.java:63 
fr.bamlab.rnimageresizer.ImageResizerModule$1.doInBackgroundGuardedImageResizerModule.java:59 
fr.bamlab.rnimageresizer.ImageResizerModule$1.doInBackgroundGuardedGuardedAsyncTask.java:36 
com.facebook.react.bridge.GuardedAsyncTask.doInBackgroundGuardedAsyncTask.java:20 
com.facebook.react.bridge.GuardedAsyncTask.doInBackgroundAsyncTask.java:333 
android.os.AsyncTask$2.callFutureTask.java:266 java.util.concurrent.FutureTask.runThreadPoolExecutor.java:1167 
java.util.concurrent.ThreadPoolExecutor.runWorkerThreadPoolExecutor.java:641 
java.util.concurrent.ThreadPoolExecutor$Worker.runThread.java:764 java.lang.Thread.run
--
stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale commented

This issue has been automatically closed. Thank you for your contributions.