java.lang.IllegalStateException: Timer already cancelled.

ICEsoft JIRA Issue Tracker | Patrick Guerin | 4 years ago
  1. 0

    Frequently, this exception occurs: java.lang.RuntimeException: java.lang.IllegalStateException: Timer already cancelled. at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:234) at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128) at org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDispatcher.java:77) at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:131) at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:69) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:397) at java.util.Timer.scheduleAtFixedRate(Timer.java:328) at org.icepush.BlockingConnectionServer.<init>(BlockingConnectionServer.java:87) at org.icepush.servlet.BrowserBoundServlet.createBlockingConnectionServer(BrowserBoundServlet.java:54) at org.icepush.servlet.BrowserBoundServlet.<init>(BrowserBoundServlet.java:44) at org.icepush.servlet.MainServlet.createBrowserBoundServlet(MainServlet.java:91) at org.icepush.servlet.MainServlet$1.newServer(MainServlet.java:85) at org.icepush.servlet.BrowserDispatcher.checkSession(BrowserDispatcher.java:61) at org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:44) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39) at org.icepush.servlet.MainServlet.service(MainServlet.java:105) at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:232) ... 29 more [org.icepush.LocalPushGroupManager] Notification queue encountered java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:397) at java.util.Timer.schedule(Timer.java:193) at org.icepush.BlockingConnectionServer.receive(BlockingConnectionServer.java:224) at org.icepush.LocalNotificationBroadcaster.broadcast(LocalNotificationBroadcaster.java:115) at org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:383) at org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:473) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)

    ICEsoft JIRA Issue Tracker | 4 years ago | Patrick Guerin
    java.lang.IllegalStateException: Timer already cancelled.
  2. 0

    Frequently, this exception occurs: java.lang.RuntimeException: java.lang.IllegalStateException: Timer already cancelled. at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:234) at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128) at org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDispatcher.java:77) at org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:131) at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:69) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:397) at java.util.Timer.scheduleAtFixedRate(Timer.java:328) at org.icepush.BlockingConnectionServer.<init>(BlockingConnectionServer.java:87) at org.icepush.servlet.BrowserBoundServlet.createBlockingConnectionServer(BrowserBoundServlet.java:54) at org.icepush.servlet.BrowserBoundServlet.<init>(BrowserBoundServlet.java:44) at org.icepush.servlet.MainServlet.createBrowserBoundServlet(MainServlet.java:91) at org.icepush.servlet.MainServlet$1.newServer(MainServlet.java:85) at org.icepush.servlet.BrowserDispatcher.checkSession(BrowserDispatcher.java:61) at org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:44) at org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39) at org.icepush.servlet.MainServlet.service(MainServlet.java:105) at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:232) ... 29 more [org.icepush.LocalPushGroupManager] Notification queue encountered java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:397) at java.util.Timer.schedule(Timer.java:193) at org.icepush.BlockingConnectionServer.receive(BlockingConnectionServer.java:224) at org.icepush.LocalNotificationBroadcaster.broadcast(LocalNotificationBroadcaster.java:115) at org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:383) at org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:473) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)

    ICEsoft JIRA Issue Tracker | 4 years ago | Patrick Guerin
    java.lang.IllegalStateException: Timer already cancelled.
  3. 0

    Crash

    GitHub | 2 years ago | sadris
    java.lang.IllegalStateException: Timer already cancelled.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java util.Timer, how to reset?

    Stack Overflow | 3 years ago | k_wave
    java.lang.IllegalStateException: Timer already cancelled.
  6. 0

    Error on server restart

    GitHub | 4 years ago | erelsgl
    java.lang.IllegalStateException: Timer already cancelled.

  1. eti22 2 times, last 3 weeks ago
  2. mauritius 4 times, last 5 days ago
  3. poroszd 2 times, last 3 months ago
  4. Stefan Braune 3 times, last 6 months ago
  5. dmitry 1 times, last 7 months ago
3 more registered users
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Timer already cancelled.

    at java.util.Timer.sched()
  2. Java RT
    Timer.schedule
    1. java.util.Timer.sched(Timer.java:397)
    2. java.util.Timer.schedule(Timer.java:193)
    2 frames
  3. org.icepush
    LocalPushGroupManager$QueueConsumerTask.run
    1. org.icepush.BlockingConnectionServer.receive(BlockingConnectionServer.java:224)
    2. org.icepush.LocalNotificationBroadcaster.broadcast(LocalNotificationBroadcaster.java:115)
    3. org.icepush.LocalPushGroupManager$Notification.run(LocalPushGroupManager.java:383)
    4. org.icepush.LocalPushGroupManager$QueueConsumerTask.run(LocalPushGroupManager.java:473)
    4 frames
  4. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)
    2. java.util.TimerThread.run(Timer.java:505)
    2 frames