That requirement has been added only recently, it should be reflected in the JavaDocs of indexNullAs().