Handled the NullPointException in issue2069
function handleNoDomain(key, value) {
<%
String multiOptionURIParam = "";
- if (localAuthenticatorNames.size() > 1 || idpAuthenticatorMapping.size() > 1) {
+ if (localAuthenticatorNames.size() > 1 || idpAuthenticatorMapping != null && idpAuthenticatorMapping.size() > 1) {
multiOptionURIParam = "&multiOptionURI=" + Encode.forUriComponent(request.getRequestURI() +
(request.getQueryString() != null ? "?" + request.getQueryString() : ""));
}
