Looks like that engine has an oil level sensor so if the oil level isn't up to full or there is a fault with either the level sensor or the oil shutoff sensor you will not have spark. Try unplugging the oil sensor after checking the oil level to see if you have spark.