Getting java.util.concurrent.RejectedExecutionException

java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@2f17e75 rejected from java.util.concurrent.ScheduledThreadPoolExecutor@8d8ae0a[Shutting down, pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 23]
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2014)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:794)
at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:302)
at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:527)
at java.util.concurrent.ScheduledThreadPoolExecutor.submit(ScheduledThreadPoolExecutor.java:626)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:594)
at com.couchbase.lite.replicator.ReplicationInternal.fireTrigger(ReplicationInternal.java:235)
at com.couchbase.lite.replicator.ReplicationInternal.triggerStopGraceful(ReplicationInternal.java:210)
at com.couchbase.lite.replicator.PullerInternal.triggerStopGraceful(PullerInternal.java:60)
at com.couchbase.lite.replicator.ReplicationInternal.waitForPendingFutures(ReplicationInternal.java:1930)
at com.couchbase.lite.replicator.PullerInternal$14.run(PullerInternal.java:969)
at java.lang.Thread.run(Thread.java:818)

This exception comes from Couchbase Lite, which has a separate forum category. You may want to post there. Also, it’ll probably help if you give the folks there a sense of what the app is doing at the time you see this exception.

1 Like