org.springframework.core.task.TaskRejectedException: Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@4f0fa9b6] did not accept task: org.artifactory.schedule.aop.AsyncAdvice$1@4cd43f60

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Yossi Shaul, 1 year ago
Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@4f0fa9b6] did not accept task: org.artifactory.schedule.aop.AsyncAdvice$1@4cd43f60
via JFrog JIRA by Yossi Shaul, 1 year ago
Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@4f0fa9b6] did not accept task: org.artifactory.schedule.aop.AsyncAdvice$1@4cd43f60
org.springframework.core.task.TaskRejectedException: Executor [org.artifactory.schedule.ArtifactoryConcurrentExecutor@4f0fa9b6] did not accept task: org.artifactory.schedule.aop.AsyncAdvice$1@4cd43f60
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2048)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)
at org.artifactory.schedule.ArtifactoryConcurrentExecutor.execute(ArtifactoryConcurrentExecutor.java:62)
at org.artifactory.schedule.aop.AsyncAdvice.submit(AsyncAdvice.java:133)
at org.artifactory.schedule.aop.AsyncAdvice.access$1(AsyncAdvice.java:130)
at org.artifactory.schedule.aop.AsyncAdvice$MethodCallbackSessionResource.afterCompletion(AsyncAdvice.java:283)
at org.artifactory.storage.tx.SessionResourceManagerImpl.afterCompletion(SessionResourceManagerImpl.java:70)
at org.artifactory.storage.db.fs.session.SqlStorageSession.afterCompletion(SqlStorageSession.java:137)
at org.artifactory.storage.db.spring.SessionSynchronization.afterCompletion(SessionSynchronization.java:83)
at org.springframework.transaction.support.TransactionSynchronizationUtils.invokeAfterCompletion(TransactionSynchronizationUtils.java:168)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.invokeAfterCompletion(AbstractPlatformTransactionManager.java:993)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerAfterCompletion(AbstractPlatformTransactionManager.java:968)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:799)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723)
at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:392)
at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at com.sun.proxy.$Proxy46.saveFileInternal(Unknown Source)
at org.artifactory.maven.AbstractMetadataCalculator.saveMetadata(AbstractMetadataCalculator.java:59)
at org.artifactory.maven.MavenMetadataCalculator.createVersionsMetadata(MavenMetadataCalculator.java:290)
at org.artifactory.maven.MavenMetadataCalculator.calculateAndSet(MavenMetadataCalculator.java:130)
at org.artifactory.maven.MavenMetadataCalculator.calculate(MavenMetadataCalculator.java:101)
at org.artifactory.maven.MavenMetadataServiceImpl.calculateMavenMetadata(MavenMetadataServiceImpl.java:73)
at org.artifactory.maven.MavenMetadataServiceImpl.calculateMavenMetadataAsync(MavenMetadataServiceImpl.java:44)
at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:337)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:206)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:206)
at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56)
at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:182)
at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:143)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:91)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
22 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
105 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.