ENGINE-14019 Exception during job acquisition null eror

Hi,

My name is Arsene. I’m using camunda.spring.boot.starter.version 3.3.6. When executing my workflow, I’m getting the below error message. I have a thread pool of 20. I submitted and started around 400 process instances. Shouldn’t the job be queued in DB and handled when there is a worker thread available?

Any suggestions for this?

ENGINE-14019 Exception during job acquisition null

j.u.c.RejectedExecutionException: Task org.springframework.cloud.sleuth.instrument.async.TraceRunnable@30291bfc rejected from java.util.concurrent.ThreadPoolExecutor@252a0689[Running, pool size = 20, active threads = 20, queued tasks = 20, completed tasks = 3561]
at j.u.c.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
at j.u.c.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
at j.u.c.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
at o.s.s.c.ThreadPoolTaskExecutor.execute(ThreadPoolTaskExecutor.java:314)
… 12 common frames omitted
Wrapped by: o.s.c.t.TaskRejectedException: Executor [java.util.concurrent.ThreadPoolExecutor@252a0689[Running, pool size = 20, active threads = 20, queued tasks = 20, completed tasks = 3561]] did not accept task: org.springframework.cloud.sleuth.instrument.async.TraceRunnable@30291bfc
at o.s.s.c.ThreadPoolTaskExecutor.execute(ThreadPoolTaskExecutor.java:317)
at o.s.c.s.i.a.LazyTraceThreadPoolTaskExecutor.execute(LazyTraceThreadPoolTaskExecutor.java:60)
… 11 common frames omitted
Wrapped by: j.l.r.InvocationTargetException: null
at s.r.GeneratedMethodAccessor374.invoke(Unknown Source)
at s.r.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at j.l.reflect.Method.invoke(Method.java:498)
at o.s.c.s.i.a.ExecutorMethodInterceptor.invoke(ExecutorBeanPostProcessor.java:127)
at o.s.a.f.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at o.s.a.f.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
… 5 common frames omitted
Wrapped by: j.l.r.UndeclaredThrowableException: null
at o.s.s.c.ThreadPoolTaskExecutor$$EnhancerBySpringCGLIB$$a67ff2a7.execute()
at o.c.b.e.s.c.j.SpringJobExecutor.executeJobs(SpringJobExecutor.java:60)
at o.c.b.e.i.j.SequentialJobAcquisitionRunnable.executeJobs(SequentialJobAcquisitionRunnable.java:141)
at o.c.b.e.i.j.SequentialJobAcquisitionRunnable.run(SequentialJobAcquisitionRunnable.java:77)
at java.lang.Thread.run(Thr…