It's because you're getting an Exception, right? What is that Exception?

Hint- Calling nextLine() reads the rest of the current line, including the "enter" at the end of the line. Calling next()...