Error en generaciĆ³n de pdf Object reference not set to an instance of an object.