I get this as well, it looks like an error with specifically randomizing Lords. Unchecking randomizing Lord classes allows it to compile the randomization.
I'm doing a run with Force Class Change and still got an Hero Echidna (replacing Cecilia ). Is this a limitation or a bug?
edit: It looks like Echidna got randomized into Hero (M), hence the oddity.