Fix an NPE if getErrors() is called before initOptions()