Profile update was placing null values in properties map, causing NPE elsewhere.