-
Notifications
You must be signed in to change notification settings - Fork 458
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
RejectedExecutionException crashes #118
Comments
Hi, Can you send me your Activity and Fragment code? |
compCrop.java
|
fragmentme .java
|
Hi, Thanks for your response. ・You shouldn't hold the fragment in your custom view class because the reference loops and causes the memory leaks. Please see my sample as reference. |
My Google Console reports dozens of RejectedExecutionException crashes with the version of 1.6.
===========================================
Samsung Galaxy J5(2016) (j5xnlte), 2048MB RAM, Android 6.0
Report 1 of 9
java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:4927)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4970)
at android.app.ActivityThread.access$1600 (ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1851)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:158)
at android.app.ActivityThread.main (ActivityThread.java:7231)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
Caused by: java.util.concurrent.RejectedExecutionException:
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution (ThreadPoolExecutor.java:2014)
at java.util.concurrent.ThreadPoolExecutor.reject (ThreadPoolExecutor.java:794)
at java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1340)
at java.util.concurrent.AbstractExecutorService.submit (AbstractExecutorService.java:82)
at java.util.concurrent.Executors$DelegatedExecutorService.submit (Executors.java:594)
at com.isseiaoki.simplecropview.CropImageView.loadAsync (CropImageView.java:1438)
at com.isseiaoki.simplecropview.LoadRequest.execute (LoadRequest.java:40)
at com.threesumatch.Components.compCrop.loadImage (compCrop.java:212)
at com.threesumatch.Fragments.FragmentMe.onActivityResult (FragmentMe.java:981)
at android.app.Activity.dispatchActivityResult (Activity.java:7162)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4923)
The text was updated successfully, but these errors were encountered: