Nullpointer error - Jumpcloud IDP


I am trying to setup an SP-initiated session (using keycloak) with the IDP Jumpcloud. After Jumpcloud creates a saml response and reroutes me to keycloak, I am getting the error below. Any ideas what is going wrong?

“Caused by: java.lang.NullPointerException”

One thing to note is that it works the first time I login as a new user. However any subsequent login attempt fails with this error. Once I go to keycloak and delete my user profile, I try again and it works.