Caused by java.lang.IllegalArgumentException: width must be > 0
at android.graphics.Bitmap.checkWidthHeight(Bitmap.java:450)
at android.graphics.Bitmap.createBitmap(Bitmap.java:874)
at android.graphics.Bitmap.createBitmap(Bitmap.java:836)
at com.steelkiwi.cropiwa.image.CropArea.applyCropTo(CropArea.java:35)
at com.steelkiwi.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java:49)
at com.steelkiwi.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java:20)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
Caused by java.lang.IllegalArgumentException: width must be > 0 at android.graphics.Bitmap.checkWidthHeight(Bitmap.java:450) at android.graphics.Bitmap.createBitmap(Bitmap.java:874) at android.graphics.Bitmap.createBitmap(Bitmap.java:836) at com.steelkiwi.cropiwa.image.CropArea.applyCropTo(CropArea.java:35) at com.steelkiwi.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java:49) at com.steelkiwi.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java:20) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)