when I created a new world I changed the game mode to creative mode and the difficulty to peaceful
then I went into superflat customization and I set the preset to the void and then I typed in "minecraft:oak_planks;" I clicked use preset then I clicked done, and it crashed.
Duplicate of MC-198725, which is fixed in the 1.17 snapshots