Fixed a NullPointerException that caused no tasks to be launched