[keycloak-user] IdentityBrokerState Exception

Rory Hart hartror at gmail.com
Fri May 18 02:21:58 EDT 2018


Hi

I have this exception with a client's ADFS IdP integrating with our
Keycloak. The exception happens upon login and isn't happening on the
staging instance.

Caused by: java.lang.NullPointerException
        at java.base/java.util.regex.Matcher.getTextLength(Matcher.
java:1769)
        at java.base/java.util.regex.Matcher.reset(Matcher.java:416)
        at java.base/java.util.regex.Matcher.<init>(Matcher.java:253)
        at java.base/java.util.regex.Pattern.matcher(Pattern.java:1147)
        at java.base/java.util.regex.Pattern.split(Pattern.java:1264)
        at org.keycloak.keycloak-server-spi-private//org.keycloak.
broker.provider.util.IdentityBrokerState.decode(IdentityBrokerState.java:75)
        at org.keycloak.keycloak-server-spi-private//org.keycloak.
broker.provider.util.IdentityBrokerState.getDecodedState(
IdentityBrokerState.java:54)
        at org.keycloak.keycloak-services//org.keycloak.services.resources.
IdentityBrokerService.parseEncodedSessionCode(IdentityBrokerService.java:
958)
        at org.keycloak.keycloak-services//org.keycloak.services.resources.
IdentityBrokerService.authenticated(IdentityBrokerService.java:473)
        at org.keycloak.keycloak-services//org.keycloak.broker.
saml.SAMLEndpoint$Binding.handleLoginResponse(SAMLEndpoint.java:440)
        ... 63 more

Any ideas what this could be?

Thanks

Rory Hart


More information about the keycloak-user mailing list