[Issue 9440] New: null ptr dereference in error message for invalid generic control value