So I started up my current project, and the first thing I did was run it, and it gave me the above exception. It was running fine last night. This is all the code in my Draw event. spriteBatch.Begin doesn't appear anywhere else in the project. Removing the Begin here causes the spriteBatch.Draw to throw an exception, putting a spriteBatch.End right before the begin also throws an exception. I'm at a loss as to what's wrong and how to fix this.
GraphicsDevice.Clear(Color.CornflowerBlue);
spriteBatch.Begin();
spriteBatch.Draw(background, Vector2.Zero, Color.White);
player.Draw(spriteBatch);
level1.Draw(spriteBatch);
spriteBatch.End();
base.Draw(gameTime);