Alright, I figured out the issue. The exception was occurring because there was no gamepad plugged in. I've corrected this mistake and you shouldn't run into that problem anymore.