java.lang.IllegalStateException: Timer already cancelled.

Jive Software Open Source | Kevin Williams | 9 years ago
  1. 0

    This is on Spark 2.5.5 beta 1. I cannot open the chat window. Spark has been open for over a day (and was running fine). I looked in my log file and now whenever I try to chat, I see the following stack traces: Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Unknown Source) at java.util.Timer.scheduleAtFixedRate(Unknown Source) at org.jivesoftware.spark.util.TaskEngine.scheduleAtFixedRate(TaskEngine.java:225) at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.<init>(ChatRoomImpl.java:192) at org.jivesoftware.spark.ChatManager$1.finished(ChatManager.java:317) at org.jivesoftware.spark.util.SwingWorker$2$1.run(SwingWorker.java:136) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Unknown Source) at java.util.Timer.schedule(Unknown Source) at org.jivesoftware.spark.util.TaskEngine.schedule(TaskEngine.java:103) at org.jivesoftware.spark.UserManager$4.windowDeactivated(UserManager.java:480) at java.awt.AWTEventMulticaster.windowDeactivated(Unknown Source) at java.awt.AWTEventMulticaster.windowDeactivated(Unknown Source) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager.sendMessage(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SequencedEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Jive Software Open Source | 9 years ago | Kevin Williams
    java.lang.IllegalStateException: Timer already cancelled.
  2. 0

    This is on Spark 2.5.5 beta 1. I cannot open the chat window. Spark has been open for over a day (and was running fine). I looked in my log file and now whenever I try to chat, I see the following stack traces: Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Unknown Source) at java.util.Timer.scheduleAtFixedRate(Unknown Source) at org.jivesoftware.spark.util.TaskEngine.scheduleAtFixedRate(TaskEngine.java:225) at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.<init>(ChatRoomImpl.java:192) at org.jivesoftware.spark.ChatManager$1.finished(ChatManager.java:317) at org.jivesoftware.spark.util.SwingWorker$2$1.run(SwingWorker.java:136) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Unknown Source) at java.util.Timer.schedule(Unknown Source) at org.jivesoftware.spark.util.TaskEngine.schedule(TaskEngine.java:103) at org.jivesoftware.spark.UserManager$4.windowDeactivated(UserManager.java:480) at java.awt.AWTEventMulticaster.windowDeactivated(Unknown Source) at java.awt.AWTEventMulticaster.windowDeactivated(Unknown Source) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager.sendMessage(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SequencedEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    JIRA | 9 years ago | Kevin Williams
    java.lang.IllegalStateException: Timer already cancelled.
  3. 0

    This is on Spark 2.5.5 beta 1. I cannot open the chat window. Spark has been open for over a day (and was running fine). I looked in my log file and now whenever I try to chat, I see the following stack traces: Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Unknown Source) at java.util.Timer.scheduleAtFixedRate(Unknown Source) at org.jivesoftware.spark.util.TaskEngine.scheduleAtFixedRate(TaskEngine.java:225) at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.<init>(ChatRoomImpl.java:192) at org.jivesoftware.spark.ChatManager$1.finished(ChatManager.java:317) at org.jivesoftware.spark.util.SwingWorker$2$1.run(SwingWorker.java:136) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Unknown Source) at java.util.Timer.schedule(Unknown Source) at org.jivesoftware.spark.util.TaskEngine.schedule(TaskEngine.java:103) at org.jivesoftware.spark.UserManager$4.windowDeactivated(UserManager.java:480) at java.awt.AWTEventMulticaster.windowDeactivated(Unknown Source) at java.awt.AWTEventMulticaster.windowDeactivated(Unknown Source) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(Unknown Source) at java.awt.DefaultKeyboardFocusManager.sendMessage(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SequencedEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Jive Software Open Source | 9 years ago | Kevin Williams
    java.lang.IllegalStateException: Timer already cancelled.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Strange IllegalStateException: "Timer already cancelled"

    Google Groups | 2 decades ago | Jacob Eliosoff
    java.lang.IllegalStateException: Timer already cancelled.
  6. 0

    WAS4.0.3 (Deployment of EAR and getting "Timer already cancelled.")

    Google Groups | 1 decade ago | Al
    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(Unknown Source)
      2. java.util.Timer.scheduleAtFixedRate(Unknown Source)
      2 frames
    3. org.jivesoftware.spark
      SwingWorker$2$1.run
      1. org.jivesoftware.spark.util.TaskEngine.scheduleAtFixedRate(TaskEngine.java:225)
      2. org.jivesoftware.spark.ui.rooms.ChatRoomImpl.<init>(ChatRoomImpl.java:192)
      3. org.jivesoftware.spark.ChatManager$1.finished(ChatManager.java:317)
      4. org.jivesoftware.spark.util.SwingWorker$2$1.run(SwingWorker.java:136)
      4 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEvent(Unknown Source)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      6. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      8. java.awt.EventDispatchThread.run(Unknown Source)
      8 frames