Steps to reproduce:
Launch the Minecraft client (version 25w34b).
Select "Single Player" from the main menu.
Click "Create a new world".
On the "Create a new World" screen, immediately press the "Cancel" button.
The game will exit with a NullPointerException error.
Expected result:
The game should return to the single player world list screen or to the main menu without glitches.
The actual result:
The game crashes on the desktop with a fatal error.
(Optional) Additional remarks:
The crash happens constantly every time I perform these actions.
It doesn't matter if I change any world settings before pressing the Cancel button.
Duplicates MC-301225.