Throws NPE on this line, inside ItemStack constructor, as there is no entry in byId[] for 0.