The bug
I created a new world and turned on the bonus chest option. When the world was generated, the chest was created to me, but there was a mistake during the generation and it was created over the grass.
Linked issues
is duplicated by
relates to
Attachments
Comments

Hello here is the seed of the world. -4821068346404841638
I wanted to check if the bug still persists when creating of the same world, unfortunately the chest was created on another location but it was fine.

Post the world file (upload it in Dropbox/Google Drive/OneDrive/whatever and post the link, since attachments should be under 10MB).

I had this happen with a seed of 93747762, on 1.14 after generating the world again (with cheats enabled and disabled) the chest was in a different spot but still floating. I've attached both worlds, if that helps any. Same seed, just different name.
[media]
I can confirm it in 1.14.3, i generate the same seed 5 times and the bonus chest just generate it well one time, the next 4... one time with one torch but the chest in the air and one time floating on the upper tree, the last two like if was over an air block

I added a pic where we can see a midair chest + a torch replacing a log

This is a very common occurrence for spawn locations in grassy fields, and either the chest spawns one or two layers higher (even when there's no grass underneath), or it spawns on the ground, but then won't spawn the torches when their spots are occupied with grass.
I wonder if it is releated to MC-610

I generated about 15 worlds and all of them had floating chests with no torches around it, without a single exception. Still affects 19w37a.

affects 19w45a

I feel like more than half of all bonus chests generate in the air. They also sometimes generate on water, see screenshot. Edit: see MC-29613

They also generate in the air in superflat worlds
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Please provide the seed so we can reproduce the issue.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki