When I first found the bug, I was typing /execute if block, but as soon as I pressed space bar, the game crashed. I then realized that I was pointing at an item frame when I was typing in the commands.
/setblock, /fill, /clone and all the other commands involving tab completion of coordinates are affected as well.
This issue duplicates MC-122608.