RTGOV-278 Catch exception thrown in hibernate when deserializing BPM activity type due to accessing context details which have not been resolved yet