[SOLVED] SEVERE hudson.triggers.SafeTimerTask since migration to 2.401.3

Hello,

since I migrated my Jenkins from 2.346.3 to 2.401.3, I have the following error every 30 minutes in my jenkins.log file
I have checked all my pipelines, none of them has a polling period of 30 minutes.

2023-08-02 14:08:33.054+0000 [id=28]    WARNING o.j.p.w.f.FlowExecutionList$StepExecutionIteratorImpl$1#onFailure
org.jenkinsci.remoting.util.ExecutorServiceUtils$FatalRejectedExecutionException: Cannot execute the command java.util.concurrent.FutureTask@5eda0d8[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@3b5c26c9[Wrapped task = org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1@589bba3a]]. The executor service is shutting down
        at hudson.remoting.SingleLaneExecutorService.execute(SingleLaneExecutorService.java:116)
        at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
        at jenkins.util.InterceptingExecutorService.submit(InterceptingExecutorService.java:46)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$5.onSuccess(CpsFlowExecution.java:931)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$5.onSuccess(CpsFlowExecution.java:926)
        at org.jenkinsci.plugins.workflow.support.concurrent.Futures$1.run(Futures.java:147)
        at org.jenkinsci.plugins.workflow.support.concurrent.DirectExecutor.execute(DirectExecutor.java:33)
        at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1270)
        at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:761)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:136)
        at org.jenkinsci.plugins.workflow.support.concurrent.Futures.addCallback(Futures.java:157)
        at org.jenkinsci.plugins.workflow.support.concurrent.Futures.addCallback(Futures.java:97)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.runInCpsVmThread(CpsFlowExecution.java:926)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.getCurrentExecutions(CpsFlowExecution.java:1018)
        at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$StepExecutionIteratorImpl.apply(FlowExecutionList.java:215)
        at org.jenkinsci.plugins.workflow.steps.StepExecution.applyAll(StepExecution.java:179)
        at org.jenkinsci.plugins.workflow.steps.StepExecution.applyAll(StepExecution.java:187)
        at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$AnomalousStatus.doRun(ExecutorStepExecution.java:294)
        at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:92)
        at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
2023-08-02 14:08:33.055+0000 [id=28]    SEVERE  hudson.triggers.SafeTimerTask#run: Timer task org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$AnomalousStatus@76c974f5 failed
org.jenkinsci.remoting.util.ExecutorServiceUtils$FatalRejectedExecutionException: Cannot execute the command java.util.concurrent.FutureTask@5eda0d8[Not completed, task = java.util.concurrent.Executors$RunnableAdapter@3b5c26c9[Wrapped task = org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1@589bba3a]]. The executor service is shutting down
        at hudson.remoting.SingleLaneExecutorService.execute(SingleLaneExecutorService.java:116)
        at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
        at jenkins.util.InterceptingExecutorService.submit(InterceptingExecutorService.java:46)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$5.onSuccess(CpsFlowExecution.java:931)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution$5.onSuccess(CpsFlowExecution.java:926)
        at org.jenkinsci.plugins.workflow.support.concurrent.Futures$1.run(Futures.java:147)
        at org.jenkinsci.plugins.workflow.support.concurrent.DirectExecutor.execute(DirectExecutor.java:33)
        at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1270)
        at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:761)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:136)
        at org.jenkinsci.plugins.workflow.support.concurrent.Futures.addCallback(Futures.java:157)
        at org.jenkinsci.plugins.workflow.support.concurrent.Futures.addCallback(Futures.java:97)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.runInCpsVmThread(CpsFlowExecution.java:926)
        at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.getCurrentExecutions(CpsFlowExecution.java:1018)
        at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$StepExecutionIteratorImpl.apply(FlowExecutionList.java:215)
        at org.jenkinsci.plugins.workflow.steps.StepExecution.applyAll(StepExecution.java:179)
        at org.jenkinsci.plugins.workflow.steps.StepExecution.applyAll(StepExecution.java:187)
        at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$AnomalousStatus.doRun(ExecutorStepExecution.java:294)
Caused: java.util.concurrent.ExecutionException
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:588)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:547)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:113)
        at org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution$AnomalousStatus.doRun(ExecutorStepExecution.java:312)
        at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:92)
        at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)

What is it, and how can I get rid of this ?

Thanks in advance

I think I figured out what the problem was :
I went to http://JENKINS_URL:8080/computer/api/xml?tree=computer[executors[currentExecutable[url]],oneOffExecutors[currentExecutable[url]]]&xpath=//url&wrapper=builds
This showed me there was a job running since 3 months, but in Jenkins’s interface, it didn’t seem to use any executor.
Anyway, I succeeded in killing it. Since, I don’t have the error anymore.