You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I occasionally get this exception when using rx for Swing tasks. I'm not specifically using the SwingScheduler, so I assume it's being used automatically?
Not sure if it's relevant, but I currently have one observable using a delay of 20ms.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The swing timer only accepts non-negative delays up to 2147483647 milliseconds.
at rx.schedulers.SwingScheduler.assertThatTheDelayIsValidForTheSwingTimer(SwingScheduler.java:139)
at rx.schedulers.SwingScheduler.access$100(SwingScheduler.java:36)
at rx.schedulers.SwingScheduler$InnerSwingScheduler.schedule(SwingScheduler.java:68)
at rx.Scheduler$Worker$1.call(Scheduler.java:110)
at rx.schedulers.SwingScheduler$InnerSwingScheduler$1ExecuteOnceAction.actionPerformed(SwingScheduler.java:83)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
The text was updated successfully, but these errors were encountered:
I occasionally get this exception when using rx for Swing tasks. I'm not specifically using the SwingScheduler, so I assume it's being used automatically?
Not sure if it's relevant, but I currently have one observable using a delay of 20ms.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: The swing timer only accepts non-negative delays up to 2147483647 milliseconds.
at rx.schedulers.SwingScheduler.assertThatTheDelayIsValidForTheSwingTimer(SwingScheduler.java:139)
at rx.schedulers.SwingScheduler.access$100(SwingScheduler.java:36)
at rx.schedulers.SwingScheduler$InnerSwingScheduler.schedule(SwingScheduler.java:68)
at rx.Scheduler$Worker$1.call(Scheduler.java:110)
at rx.schedulers.SwingScheduler$InnerSwingScheduler$1ExecuteOnceAction.actionPerformed(SwingScheduler.java:83)
at javax.swing.Timer.fireActionPerformed(Timer.java:313)
at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
The text was updated successfully, but these errors were encountered: