Can confirm all of the above.

Player.getSelectedObjects() throws a nondescript error if the player has destroyed an item (if they deleted the object or dropped it into a bag for example) and has...