(Classifier) Avoid NPE on toString() at validation step