TimerSchedulerTask.saveLastExecutionTime fail during sdk run

multiple tries and 100% fails at point of database configuration running openmrs-sdk 3.7

My environment is virtual alpine linux connecting to mysql running on another server. I also get the same error trying the install with docker-compose. I’ve allowed the process to run overnight to see if it would timeout, but no.

TimerSchedulerTask.saveLastExecutionTime(74) |2026-02-28T19:47:59,057| Unable to save the last execution time for task. Task.taskDefinition is null in class org.openmrs.scheduler.tasks.TaskThreadedInitializationWrapper

Any thought?

The logging message you’ve given is an error with maybe a schedule task definition, but it doesn’t seem related to the system not working. If you’re able to share the full system log, someone may be able to help you with the error.

I had the same issue for quite a while, finally i simply let it run for a few hours which did the trick. At least on my system (laptop, running inside WSL) it just took a really long time to continue after the TimerSchedulerTask.saveLastExecutionTime(74) message.

Hope this helps!