java.lang.RuntimeException: 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.RuntimeException: 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.RuntimeException: java.lang.IllegalStateException: Timer already cancelled.
  3. 0

    Exception in IcePushResourceHandlerImpl about cancelled timer

    Icesoft | 6 years ago | Kusi68
    java.lang.RuntimeException: java.lang.IllegalStateException: Timer already cancelled.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 343#192353389

    GitHub | 9 months ago | cwardgar
    java.lang.IllegalStateException: Timer already cancelled.
  6. 0

    GitHub comment 343#192354312

    GitHub | 9 months ago | lesserwhirls
    java.lang.IllegalStateException: Timer already cancelled.

    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.scheduleAtFixedRate
      1. java.util.Timer.sched(Timer.java:397)
      2. java.util.Timer.scheduleAtFixedRate(Timer.java:328)
      2 frames
    3. org.icepush
      BlockingConnectionServer.<init>
      1. org.icepush.BlockingConnectionServer.<init>(BlockingConnectionServer.java:87)
      1 frame
    4. org.icepush.servlet
      MainServlet.service
      1. org.icepush.servlet.BrowserBoundServlet.createBlockingConnectionServer(BrowserBoundServlet.java:54)
      2. org.icepush.servlet.BrowserBoundServlet.<init>(BrowserBoundServlet.java:44)
      3. org.icepush.servlet.MainServlet.createBrowserBoundServlet(MainServlet.java:91)
      4. org.icepush.servlet.MainServlet$1.newServer(MainServlet.java:85)
      5. org.icepush.servlet.BrowserDispatcher.checkSession(BrowserDispatcher.java:61)
      6. org.icepush.servlet.BrowserDispatcher.service(BrowserDispatcher.java:44)
      7. org.icepush.servlet.PathDispatcher.service(PathDispatcher.java:39)
      8. org.icepush.servlet.MainServlet.service(MainServlet.java:105)
      8 frames
    5. org.icefaces.impl
      DynamicResourceDispatcher.handleResourceRequest
      1. org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:232)
      2. org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:234)
      3. org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128)
      4. org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDispatcher.java:77)
      4 frames
    6. org.icefaces.application
      ResourceRegistry.handleResourceRequest
      1. org.icefaces.application.ResourceRegistry.handleResourceRequest(ResourceRegistry.java:131)
      1 frame
    7. org.icefaces.impl
      SessionAwareResourceHandlerWrapper.handleResourceRequest
      1. org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:69)
      2. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      2 frames
    8. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62)
      1 frame
    9. org.icefaces.impl
      SessionAwareResourceHandlerWrapper.handleResourceRequest
      1. org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:71)
      2. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      2 frames
    10. JavaEE 7
      FacesServlet.service
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62)
      2. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62)
      3. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:62)
      4. javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)
      4 frames
    11. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
      4. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
      5. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
      6. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      6 frames
    12. JPA
      WebNonTxEmCloserValve.invoke
      1. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      1 frame
    13. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
      1 frame
    14. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
      4 frames
    15. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
      3 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame