That's either a bug or your inventory was full.