NXP-14849: fix NPE in logging after deserializing AbstractWork