org.quartz.SchedulerException

Job threw an unhandled exception.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web15

  • via Unknown by Noam Y. Tenne,
  • via Unknown by Noam Y. Tenne,
  • via Unknown by ??tzi,
  • Stack trace

    • org.quartz.SchedulerException: Job threw an unhandled exception. at org.quartz.core.JobRunShell.run(JobRunShell.java:213)[quartz-1.6.3.jar:1.6.3] at org.artifactory.schedule.CachedThreadPoolTaskExecutor$RunnableWrapper.run(CachedThreadPoolTaskExecutor.java:65)[artifactory-core-2.1.2.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)[na:1.5.0_16] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)[na:1.5.0_16] at java.lang.Thread.run(Thread.java:595)[na:1.5.0_16] Caused by: org.artifactory.concurrent.LockingException: Write lock on LockEntryId central-all-external-cache:org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5-sources.jar not acquired in 120 seconds at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:225)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:89)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:93)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:45)[artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:666)[artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:226)[artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.undeploy(StoringRepoMixin.java:354)[artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.undeploy(JcrRepoBase.java:243)[artifactory-core-2.1.2.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1012)[artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor719.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_16] at java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_16] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66)[artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6] at $Proxy25.undeploy(Unknown Source)[na:na] at org.artifactory.repo.cleanup.ArtifactCleanupServiceImpl.clean(ArtifactCleanupServiceImpl.java:126)[artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor832.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_16] at java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_16] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)[spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)[artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6] at $Proxy42.clean(Unknown Source)[na:na] at org.artifactory.repo.cleanup.ArtifactCleanupJob.onExecute(ArtifactCleanupJob.java:44)[artifactory-core-2.1.2.jar:na] at org.artifactory.repo.cleanup.ArtifactCleanupJob.onExecute(ArtifactCleanupJob.java:32)[artifactory-core-2.1.2.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)[artifactory-core-2.1.2.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-1.6.3.jar:1.6.3] ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.