java.util.concurrent.RejectedExecutionException

Task java.util.concurrent.FutureTask@355e3a0e rejected from io.realm.internal.async.RealmThreadPoolExecutor@23a32c2f[Running, pool size = 9, active threads = 9, queued tasks = 100, completed tasks = 160]

Solutions on the web589

  • Task java.util.concurrent.FutureTask@355e3a0e rejected from io.realm.internal.async.RealmThreadPoolExecutor@23a32c2f[Running, pool size = 9, active threads = 9, queued tasks = 100, completed tasks = 160]
  • Task java.util.concurrent.FutureTask@d76273a rejected from io.realm.internal.async.RealmThreadPoolExecutor@c1e8feb[Running, pool size = 9, active threads = 9, queued tasks = 100, completed tasks = 0]
  • Task java.util.concurrent.FutureTask@b297227 rejected from io.realm.internal.async.RealmThreadPoolExecutor@873a166[Running, pool size = 5, active threads = 5, queued tasks = 100, completed tasks = 125]
  • Stack trace

    • java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@355e3a0e rejected from io.realm.internal.async.RealmThreadPoolExecutor@23a32c2f[Running, pool size = 9, active threads = 9, queued tasks = 100, completed tasks = 160] at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2011) at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:793) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1339) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:81) at io.realm.internal.async.RealmThreadPoolExecutor.submitTransaction(RealmThreadPoolExecutor.java:71) at io.realm.Realm.executeTransactionAsync(Realm.java:1181) at io.realm.Realm.executeTransactionAsync(Realm.java:1150) at com.project.listener.MyChildEventListener.onChildAdded(MyChildEventListener.java:29) at com.google.android.gms.internal.zzahe.zza(Unknown Source) at com.google.android.gms.internal.zzaje.zzcta(Unknown Source) at com.google.android.gms.internal.zzajh$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5349) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    9 times, 18 hours ago
    14 times, 3 months ago
    2 times, 7 months ago
    174 times, 8 months ago
    93 more bugmates