FLEX-25617 FLEX-20117 Fix RTE when no errors and accessing message