IllegalMonitorStateException in Timer
Hi,
I have a simple Timer that schedules itself in startApp(). But every time I run the midlet it throws this exception.
java/lang/IllegalMonitorStateException:
at java/util/TimerThread::run()V+10
my code looks like this.
//create the timer task
notificationTask = new NotificationTask();
//create the timer
notificationTimer = new Timer();
//schedule the timer
notificationTimer.schedule(notificationTask, 30000, 60000);
Any help would be greatly appreciated.

