(Core) Fix NPE occurring on the opening of an XDF that contains actor
with compilation error.