Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-198

Exception on saml logout on IBM JDK and EAP6

XMLWordPrintable

      The SAML adapter tests fails on logout. The problem appears only on the combination of EAP6, both versions of IBM jdk and on both RHELs. The other combinations are ok.

      02:42:10,542 INFO [org.keycloak.testsuite.adapter.page.Employee2Servlet] navigating to http://localhost:8280/employee2
      02:42:20,430 INFO [org.keycloak.testsuite.adapter.page.Employee2Servlet] current URL: http://localhost:8180/auth/realms/demo/login-actions/authenticate?code=4sls--PxR88Qwrffhj14mu6HCJ0OoooUnLRwFo-yWJQ.2e63dc35-cfe5-4393-9e16-95eaa694bd14
      �[0m02:42:22,091 INFO [stdout] (http-/127.0.0.1:8280-1) In SendUsername Servlet doGet()
      �[0m�[31m02:42:22,465 ERROR [org.keycloak.saml.common] (http-/127.0.0.1:8280-1) Error in base64 decoding saml message: java.util.NoSuchElementException: Either there were no more events in the queue or the state of the reader is END_DOCUMENT.
      �[0m�[31m02:42:22,466 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8280-1) 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:172) [keycloak-saml-adapter-core-1.9.0.CR1-redhat-2.jar:1.9.0.CR1-redhat-2]
      at org.keycloak.adapters.saml.profile.webbrowsersso.SamlEndpoint.handle(SamlEndpoint.java:45) [keycloak-saml-adapter-core-1.9.0.CR1-redhat-2.jar:1.9.0.CR1-redhat-2]
      at org.keycloak.adapters.saml.SamlAuthenticator.authenticate(SamlAuthenticator.java:48) [keycloak-saml-adapter-core-1.9.0.CR1-redhat-2.jar:1.9.0.CR1-redhat-2]
      at org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve.executeAuthenticator(AbstractSamlAuthenticatorValve.java:225) [keycloak-saml-tomcat-adapter-core-1.9.0.CR1-redhat-2.jar:1.9.0.CR1-redhat-2]
      at org.keycloak.adapters.saml.AbstractSamlAuthenticatorValve.invoke(AbstractSamlAuthenticatorValve.java:176) [keycloak-saml-tomcat-adapter-core-1.9.0.CR1-redhat-2.jar:1.9.0.CR1-redhat-2]
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.5.Final-redhat-3.jar:7.5.5.Final-redhat-3]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
      at java.lang.Thread.run(Thread.java:809) [vm.jar:1.7.0]

      �[0m02:42:22,823 INFO [org.keycloak.testsuite.adapter.page.Employee2Servlet] navigating to http://localhost:8280/employee2
      �[0m02:42:22,829 INFO [stdout] (http-/127.0.0.1:8280-1) In SendUsername Servlet doGet()
      �[0m02:42:23,187 INFO [org.keycloak.testsuite.adapter.page.Employee2Servlet] current URL: http://localhost:8280/employee2
      02:42:27,186 ERROR [org.keycloak.testsuite.adapter.servlet.EAP6SAMLServletsAdapterTest] [EAP6SAMLServletsAdapterTest] employee2Test() FAILED
      02:42:27,187 INFO [org.keycloak.testsuite.adapter.servlet.EAP6SAMLServletsAdapterTest] [EAP6SAMLServletsAdapterTest] employee2Test() FINISHED

              mhajas@redhat.com Michal Hajas
              pdrozd1@redhat.com Pavel Drozd
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: