java.lang.IllegalStateException: Timer already cancelled.

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 Apache's JIRA Issue Tracker by Pero Atanasov, 9 months ago
Timer already cancelled.
via Stack Overflow by Ram
, 1 year ago
Task already scheduled or cancelled
via Jenkins JIRA by Joshua Boyd, 1 year ago
Timer already cancelled.
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:354)
at java.util.Timer.schedule(Timer.java:222)
at org.apache.activemq.broker.region.Topic.start(Topic.java:563)
at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:141)
at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:325)
at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
at org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:184)
at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
at org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:167)
at org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:172)
at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:439)
at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:297)
at org.apache.activemq.advisory.AdvisoryBroker.fireAdvisory(AdvisoryBroker.java:615)
at org.apache.activemq.advisory.AdvisoryBroker.fireConsumerAdvisory(AdvisoryBroker.java:564)
at org.apache.activemq.advisory.AdvisoryBroker.fireConsumerAdvisory(AdvisoryBroker.java:550)
at org.apache.activemq.advisory.AdvisoryBroker.removeConsumer(AdvisoryBroker.java:271)
at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:132)
at org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:132)
at org.apache.activemq.broker.MutableBrokerFilter.removeConsumer(MutableBrokerFilter.java:137)
at org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:651)
at org.apache.activemq.broker.TransportConnection.processRemoveSession(TransportConnection.java:690)
at org.apache.activemq.broker.TransportConnection.processRemoveConnection(TransportConnection.java:802)
at org.apache.activemq.broker.TransportConnection.doStop(TransportConnection.java:1143)
at org.apache.activemq.broker.TransportConnection$4.run(TransportConnection.java:1073)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
39 times, 1 week ago
4207 times, 2 weeks ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 more bugmates

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