Pdf service had a  reference to a non existing object