org.artifactory.concurrent.LockingException: Timeout after 120 seconds when trying to wait for next state in 'STOPPING'.

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 Dror Bereznitsky, 1 year ago
Timeout after 120 seconds when trying to wait for next state in 'STOPPING'.
via JFrog JIRA by Dror Bereznitsky, 1 year ago
Timeout after 120 seconds when trying to wait for next state in 'STOPPING'.
org.artifactory.concurrent.LockingException: Timeout after 120 seconds when trying to wait for next state in 'STOPPING'.
at org.artifactory.schedule.TaskBase.guardedWaitForNextStep(TaskBase.java:442)
at org.artifactory.schedule.TaskBase.guardedWaitForNextStep(TaskBase.java:431)
at org.artifactory.schedule.TaskBase.guardedTransitionToState(TaskBase.java:424)
at org.artifactory.schedule.TaskBase.cancel(TaskBase.java:114)
at org.artifactory.schedule.TaskServiceImpl.cancelTask(TaskServiceImpl.java:144)
at org.artifactory.schedule.TaskServiceImpl.cancelTasks(TaskServiceImpl.java:167)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at com.sun.proxy.$Proxy41.cancelTasks(Unknown Source)
at org.artifactory.schedule.BaseTaskServiceDescriptorHandler.reschedule(BaseTaskServiceDescriptorHandler.java:61)
at org.artifactory.addon.replication.core.ReplicationServiceImpl.reload(ReplicationServiceImpl.java:74)
at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at com.sun.proxy.$Proxy69.reload(Unknown Source)
at org.artifactory.spring.ArtifactoryApplicationContext.reload(ArtifactoryApplicationContext.java:315)
at org.artifactory.config.CentralConfigServiceImpl.reloadConfiguration(CentralConfigServiceImpl.java:294)
at org.artifactory.config.CentralConfigServiceImpl.setConfigXml(CentralConfigServiceImpl.java:174)
at org.artifactory.config.CentralConfigServiceImpl.saveEditedDescriptorAndReload(CentralConfigServiceImpl.java:219)
at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at com.sun.proxy.$Proxy38.saveEditedDescriptorAndReload(Unknown Source)
at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)
at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.saveDescriptor(CachingDescriptorHelper.java:121)
at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.syncAndSaveRemoteRepositories(CachingDescriptorHelper.java:88)
at org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel.saveEditDescriptor(HttpRepoPanel.java:163)
at org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel.saveEditDescriptor(HttpRepoPanel.java:1)
at org.artifactory.webapp.wicket.page.config.repos.RepoConfigCreateUpdatePanel$2.onSubmit(RepoConfigCreateUpdatePanel.java:157)
at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:59)
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:172)
at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1174)
at org.apache.wicket.markup.html.form.Form.process(Form.java:838)
at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:762)
at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:158)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:316)
at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260)
at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)
at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255)
at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:252)
at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209)
at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280)
at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:166)
at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:272)
at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:181)
at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:143)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:57)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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