GenericOCIO: catch exceptions and set persistent messages upon errors.
Also don’t attempt to dererference a NULL pointer.