Skip to content
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

Android crashing after edit and hit save button #44

Open
mahmed101 opened this issue Nov 29, 2022 · 0 comments
Open

Android crashing after edit and hit save button #44

mahmed101 opened this issue Nov 29, 2022 · 0 comments

Comments

@mahmed101
Copy link

mahmed101 commented Nov 29, 2022

Fatal Exception: java.lang.RuntimeException
An error occurred while executing doInBackground()
android.os.AsyncTask$4.done (AsyncTask.java:399)

java.lang.Thread.run (Thread.java:919)

Caused by java.lang.IndexOutOfBoundsException
Index: 1, Size: 0
java.util.ArrayList.get (ArrayList.java:437)

android.view.View.draw (View.java:23185)
ja.burhanrashid52.photoeditor.PhotoSaverTask.captureView (PhotoSaverTask.java:161)
ja.burhanrashid52.photoeditor.PhotoSaverTask.buildBitmap (PhotoSaverTask.java:104)
ja.burhanrashid52.photoeditor.PhotoSaverTask.saveImageInFile (PhotoSaverTask.java:88)
ja.burhanrashid52.photoeditor.PhotoSaverTask.doInBackground (PhotoSaverTask.java:70)
ja.burhanrashid52.photoeditor.PhotoSaverTask.doInBackground (PhotoSaverTask.java:23)

Screenshot 2022-11-29 at 10 44 44 AM

I see same issue in native library too => burhanrashid52/PhotoEditor#374
Can you look into this please @baronha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant