Fixed null pointer exception when numRobots parameter is not set in the configuration file.