3

We are using Salesforce SDK 8.0.4. In the recent release, we have RejectedExecutionException.

I am not sure if it is related but we started reconfiguring Salesforce when the user changes their Tracking Consent.

Fatal Exception: java.util.concurrent.RejectedExecutionException: Task com.salesforce.marketingcloud.registration.e$c@e7ce5b7 rejected from java.util.concurrent.ThreadPoolExecutor@bb5c124[Shutting down, pool size = 1, active threads = 1, queued tasks = 1, completed tasks = 9]
   at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2086)
   at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:848)
   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1394)
   at java.util.concurrent.Executors$DelegatedExecutorService.execute(Executors.java:630)
   at com.salesforce.marketingcloud.registration.e.a(e.java:35)
   at com.salesforce.marketingcloud.registration.d.a(d.java:52)
   at com.salesforce.marketingcloud.http.c$b.a(c.java:6)
   at com.salesforce.marketingcloud.internal.g.run(g.java:17)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
   at java.lang.Thread.run(Thread.java:920)

What would cause crash and how can we prevent it happening?

New contributor
Sinan Kozak is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
10

Your Answer

Sinan Kozak is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.