Why would this raise an exception?