if (context == null) {
throw new NullPointerException();
}
if (base != null && base instanceof LocalizedMap) {
context.setPropertyResolved(true);
LocalizedMap map = (LocalizedMap) base;
Locale locale = null;
try {
VariableMapper vm = context.getVariableMapper();
ValueExpression ve = vm.resolveVariable(localizedMapLocaleKey);
if (ve != null) {