Confirmed
I think that this may not be a minecraft glitch, but a lwjgl glitch. I have seen a similar report and this, to the best of my memory, was one of the responses,
Have you tried entering your email you use for the Mojang account instead of your Username?
It also does the same thing for this command
tellraw @a {text:"<Dragon Slayer> Click ",extra:[{text:"here",color:gold,bold:true,clickEvent:{action:run_command,value:'/give @p 261 1 0 {ench:[{id:48,lvl:127},{id:51,lvl:1}],display:{Name:"Dragon Begon",Lore:[The bow forged from the blood of a dragon.]}}'}},{text:" to get the bow forged from dragon blood."}]}
Then gives the error and puts me on the multiplayer menu
This is not a bug because bow damage is not measurable as it is a ranged weapon. The damage that armor protects you from is also not constant and there is no "protection" attribute.
This is not a bug because speed shows the attribute effect. So all potions that do not have to do with an attribute do not have a tooltip.
I've seen this behavior even after trading with a villager. The villager(A) will have claim to a specific workstation but for some reason drop it leaving it for another villager to claim. Villager A will then not be able to restock his trades and it becomes difficult to force him to take on another workstation.