The bug:
When the player sets the superflat preset the game crashes
Steps to Reproduce:
Click on the create new world option
Click on the world option
Select world type for superflat
Click on customize and select any one
Click on Use the preset
Observed Results:
The game crashes
Expected Results:
The preset is saved and world creation continues normally.
Duplicate of MC-277929, see comments.