Skip to content
Search

Java.util.Timer

lastmod 2014-08-23created 2014-08-062 edits

Troubleshooting

Describes how to solve problems that occur while using the object.

Task already scheduled or cancelled

The following Exception may occur.

Exception in thread "Timer-0" java.lang.IllegalStateException: Task already scheduled or cancelled 

This problem occurs when you reuse a java.util.TimerTask object. You must create a new java.util.TimerTask object.

Favorite site