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 GitHub by har-wradim
, 1 year ago
via Netbeans Bugzilla by bartbopp, 6 months ago
via Eclipse Bugzilla by bjoy, 1 year ago
via Google Groups by Daco, 1 year ago
Timer already cancelled.
via Stack Overflow by Unknown author, 2 years ago
Task already scheduled or cancelled
via Google Groups by gona, 5 months ago
java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Timer.java:397)
at java.util.Timer.schedule(Timer.java:248)
at org.apache.activemq.broker.region.Queue.start(Queue.java:949)
at org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:161)
at org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:348)
at org.apache.activemq.broker.region.RegionBroker.sendToDeadLetterQueue(RegionBroker.java:804)
at org.apache.activemq.broker.BrokerFilter.sendToDeadLetterQueue(BrokerFilter.java:318)
at org.apache.activemq.advisory.AdvisoryBroker.sendToDeadLetterQueue(AdvisoryBroker.java:505)
at org.apache.activemq.broker.BrokerFilter.sendToDeadLetterQueue(BrokerFilter.java:318)
at org.apache.activemq.broker.BrokerFilter.sendToDeadLetterQueue(BrokerFilter.java:318)
at org.apache.activemq.broker.MutableBrokerFilter.sendToDeadLetterQueue(MutableBrokerFilter.java:330)
at org.apache.activemq.broker.region.PrefetchSubscription.sendToDLQ(PrefetchSubscription.java:540)
at org.apache.activemq.broker.region.PrefetchSubscription.acknowledge(PrefetchSubscription.java:397)
at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:526)
at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:484)
at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:87)
at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:87)
at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:276)
at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:97)
at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:338)
at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

39 times, 2 months ago
4207 times, 2 months ago
2 times, 1 year ago
2 times, 1 year ago
Once, 1 year ago

Write tip

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