-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash with cropiwa while cropping image #49
Comments
same crash. cropiwa settings
reproducing by swipe image out of crop rectangle and press crop button by other finger at same time |
3274-4121 E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #3 |
cropView.setImageUri(imageUri) |
I run into the same issue. Also reproducing by swiping image out of crop circle and press crop button by other finger at same time. Any updates about this? |
stacktrace as follows:
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:325)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)
java.lang.IllegalArgumentException: x must be >= 0
at android.graphics.Bitmap.checkXYSign(Bitmap.java:406
at android.graphics.Bitmap.createBitmap(Bitmap.java:742)
at android.graphics.Bitmap.createBitmap(Bitmap.java:712)
at com.android.maya.business.shoot.cropiwa.image.CropArea.create(CropArea.java)
moveRectToCoordinateSystem(CropArea.java)
applyCropTo(CropArea.java)
findRealCoordinate(CropArea.java)
at com.android.maya.business.shoot.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java)
onPostExecute(CropImageTask.java)
at com.android.maya.business.shoot.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 4 morejava.lang.IllegalArgumentException: x must be >= 0
at android.graphics.Bitmap.checkXYSign(Bitmap.java:406)
at android.graphics.Bitmap.createBitmap(Bitmap.java:742)
at android.graphics.Bitmap.createBitmap(Bitmap.java:712)
at com.android.maya.business.shoot.cropiwa.image.CropArea.create(CropArea.java)
moveRectToCoordinateSystem(CropArea.java)
applyCropTo(CropArea.java)
findRealCoordinate(CropArea.java)
at com.android.maya.business.shoot.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java)
onPostExecute(CropImageTask.java)
at com.android.maya.business.shoot.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)
The text was updated successfully, but these errors were encountered: