Top oven problem

My top oven on my GE Profile Range preheats to the desired temperature and bakes for a short time and then shuts off for no reason. Any ideas on what is causing this?