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)
We would need more context -
- Version of Couchbase Lite and Sync Gateway
- Does this happen when the activity is dismissed or app is pushed to background or … ?
- Sequence of actions - for instance, was a doc added or updated or deleted (at SG or at app)
Hi @priya.rajagopal ,
Thanks For your reply.
- I am using couchbase lite 2.0 and couchbase sync gateway 1.5.
- Its happing when activity is reinitialized from background.
Regards,
Achint