NXP-12883 Handle case where FacesContext is null