Don't set to "null" as that then creates a DefaultValidationEventHandler which prints things out to System.out.