module loader throws exception when it loads no tasks and events.