[keycloak-user] XML parsing issues after upgrading RH_SSO from 7.0 to 7.1

Pulkit Gupta pulgupta at redhat.com
Fri Jun 9 03:28:14 EDT 2017


Hi Team, We have a bunch of application working with RH_SSO. The
applications were using SAML adapter 7.0 for EAP6 and all was working fine.
However we upgraded the SAML adapter to 7.1 at out SP side. Soon after the
upgrade we are now seeing XML parsing exceptions in the /wapps/xxx/saml
endpoint created by the adapter. These are also not consistent and most of
the applications works fine most of the time however we get this mostly
with one of our SP. Please find the stack trace below 2017-06-09
03:17:42,370 [wapps-external-exec-threads - 161] ERROR
[org.keycloak.saml.common] Error in base64 decoding saml message:
java.lang.RuntimeException: javax.xml.stream.XMLStreamException:
java.net.MalformedURLException 2017-06-09 03:17:42,370
[wapps-external-exec-threads - 161] ERROR [org.apache.catalina.connector]
JBWEB001018: An exception or error occurred in the container during the
request processing: java.lang.NullPointerException at
org.keycloak.adapters.saml.profile.AbstractSamlAuthenticationHandler.handleSamlResponse(AbstractSamlAuthenticationHandler.java:179)
at
org.keycloak.adapters.saml.profile.webbrowsersso.SamlEndpoint.handle(SamlEndpoint.java:44)
at
org.keycloak.adapters.saml.SamlAuthenticator.authenticate(SamlAuthenticator.java:48)
at
org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve.executeAuthenticator(AbstractSamlAuthenticatorValve.java:224)
at
org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve.invoke(AbstractSamlAuthenticatorValve.java:174)
at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at
org.jboss.as.web.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:356)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at
com.redhat.container.redirect.RedirectToInternalValve.invoke(RedirectToInternalValve.java:61)
at com.redhat.container.UTF8Valve.invoke(UTF8Valve.java:26) at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:511)
at
org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808) at
org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45) at
org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849) at
java.lang.Thread.run(Thread.java:745) at
org.jboss.threads.JBossThread.run(JBossThread.java:122)

-- 

PULKIT GUPTA

SENIOR SOFTWARE APPLICATIONS ENGINEER

Red Hat IN IT GBD <https://www.redhat.com/>

Pune - India

pulgupta at redhat.com    T: +91-2066817536
<http://redhatemailsignature-marketing.itos.redhat.com/>     IM: pulgupta
<https://red.ht/sig>


More information about the keycloak-user mailing list