0 Replies Latest reply on Oct 29, 2012 4:43 PM by Markus Plangg

    PLFED000102: Processing Exception after global logout, reload of IDP and login

    Markus Plangg Newbie

      I've been playing around with the IDP and global logout and found that an exception is thrown after the following steps:

      1. Open a SP (e.g. http://localhost:8080/sales-post/)

      2. Login

      3. Logout with global logout (e.g. http://localhost:8080/sales-post?GLO=true)

      4. Click in the address bar and press enter to reload the IDP without resubmitting data

      5. Login

       

      Instead of showing /hosted the following exception is thrown:

       

      21:21:19,521 ERROR [org.picketlink.identity.federation] (http-localhost-127.0.0.1-8080-3) PLFED000253: Exception in processing request: org.picketlink.identity.federation.core.exceptions.ProcessingException: PLFED000102: Processing Exception

          at org.picketlink.identity.federation.PicketLinkLoggerImpl.processingError(PicketLinkLoggerImpl.java:85) [picketlink-jbas7-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.core.saml.v2.util.DocumentUtil.getDocument(DocumentUtil.java:208) [picketlink-core-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.api.saml.v2.request.SAML2Request.getSAML2ObjectFromStream(SAML2Request.java:163) [picketlink-core-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.web.util.IDPWebRequestUtil.getSAMLDocumentHolder(IDPWebRequestUtil.java:123) [picketlink-core-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.processSAMLRequestMessage(AbstractIDPValve.java:504) [picketlink-jbas7-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.invoke(AbstractIDPValve.java:383) [picketlink-jbas7-2.1.5.Final.jar:2.1.5.Final]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]

      Caused by: java.util.zip.ZipException: invalid code lengths set

          at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164) [rt.jar:1.7.0_09]

          at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122) [rt.jar:1.7.0_09]

          at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(XMLEntityManager.java:3032)

          at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:1012)

          at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:143)

          at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:802)

          at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)

          at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)

          at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:230)

          at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:285)

          at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) [rt.jar:1.7.0_09]

          at org.picketlink.identity.federation.core.saml.v2.util.DocumentUtil.getDocument(DocumentUtil.java:202) [picketlink-core-2.1.5.Final.jar:2.1.5.Final]

          ... 13 more

       

      21:21:19,544 ERROR [org.apache.catalina.connector.CoyoteAdapter] (http-localhost-127.0.0.1-8080-3) An exception or error occurred in the container during the request processing: java.lang.RuntimeException: PLFED000092: Null Value: Destination is null

          at org.picketlink.identity.federation.PicketLinkLoggerImpl.nullValueError(PicketLinkLoggerImpl.java:106) [picketlink-jbas7-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.web.util.PostBindingUtil.sendPost(PostBindingUtil.java:101) [picketlink-core-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.web.util.IDPWebRequestUtil.send(IDPWebRequestUtil.java:231) [picketlink-core-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.processSAMLRequestMessage(AbstractIDPValve.java:640) [picketlink-jbas7-2.1.5.Final.jar:2.1.5.Final]

          at org.picketlink.identity.federation.bindings.tomcat.idp.AbstractIDPValve.invoke(AbstractIDPValve.java:383) [picketlink-jbas7-2.1.5.Final.jar:2.1.5.Final]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:]

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:]

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:]

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:]

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09]

       

      I know these are not so common steps but anyway . I tried this with my open App and sales-post.war and idp.war from the Quickstarts.