javax.jms.JMSException

Timer already cancelled.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web37

  • via Atlassian JIRA by Renan Battaglin, 10 months ago
    Timer already cancelled.
  • via Apache's JIRA Issue Tracker by Pero Atanasov, 5 months ago
    Timer already cancelled.
  • via nabble.com by Unknown author, 1 year ago
    Timer already cancelled.
  • Stack trace

    • javax.jms.JMSException: Timer already cancelled. at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49) at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1287) at org.apache.activemq.ActiveMQConnection.createTempDestination(ActiveMQConnection.java:1922) at org.apache.activemq.ActiveMQSession.createTemporaryQueue(ActiveMQSession.java:1330) at org.apache.activemq.pool.PooledSession.createTemporaryQueue(PooledSession.java:165) at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.createTemporaryDestination(SingleThreadedRequestor.java:109) at org.logicblaze.lingo.jms.impl.SingleThreadedRequestor.getReceiver(SingleThreadedRequestor.java:119) at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.init(MultiplexingRequestor.java:86) at org.logicblaze.lingo.jms.impl.MultiplexingRequestor.<init>(MultiplexingRequestor.java:80) at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.<init>(BambooMultiplexingRequestor.java:51) at com.atlassian.bamboo.lingo.BambooMultiplexingRequestor.newInstance(BambooMultiplexingRequestor.java:37) at com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.createRequestor(BambooJmsProxyFactoryBean.java:38) at org.logicblaze.lingo.jms.JmsClientInterceptor.afterPropertiesSet(JmsClientInterceptor.java:114) at org.logicblaze.lingo.jms.JmsProxyFactoryBean.afterPropertiesSet(JmsProxyFactoryBean.java:44) at com.atlassian.bamboo.lingo.BambooJmsProxyFactoryBean.afterPropertiesSet(BambooJmsProxyFactoryBean.java:26) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1198) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1167) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:267) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:389) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:120) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:795) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:713) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:88) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.initApplicationContext(RemoteAgent.java:159) at com.atlassian.bamboo.v2.build.agent.remote.RemoteAgent.start(RemoteAgent.java:52) 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:616) at com.atlassian.bamboo.agent.bootstrap.AgentRunner.run(AgentRunner.java:54) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:376) at java.util.Timer.schedule(Timer.java:244) at org.apache.activemq.thread.Scheduler.schedualPeriodically(Scheduler.java:49) at org.apache.activemq.broker.region.Queue.start(Queue.java:835) at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:129) at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:304) at org.apache.activemq.broker.region.RegionBroker.addDestinationInfo(RegionBroker.java:367) at org.apache.activemq.advisory.AdvisoryBroker.addDestinationInfo(AdvisoryBroker.java:172) at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217) at org.apache.activemq.broker.BrokerFilter.addDestinationInfo(BrokerFilter.java:217) at org.apache.activemq.broker.MutableBrokerFilter.addDestinationInfo(MutableBrokerFilter.java:223) at org.apache.activemq.broker.TransportConnection.processAddDestination(TransportConnection.java:484) at org.apache.activemq.command.DestinationInfo.visit(DestinationInfo.java:122) at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:311) at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:185) at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69) at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113) at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:228) at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83) at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:220) at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:202)

    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

    Unknown user
    Once, 1 year ago
    35 times, 3 months ago
    2 times, 10 months ago
    Unknown user
    Once, 11 months ago
    Once, 1 year ago
    6 more bugmates