If you hold any piece of armor in your hand and right click it will put it in the slot right above where it should go, thus right clicking the helmet will give a ArrayIndexOutOfBoundsException.
Related issues
Attachments
Comments

[media]
Duplicate of MC-8189, please use the search function to see if your bug has already been submitted. Currently over 49% of tickets are being closed as duplicate.
Whoops, sorry 😉