Skip to Content.
Sympa Menu

shibboleth-dev - [Shib-Dev] NPE using idp-initiated flow

Subject: Shibboleth Developers

List archive

[Shib-Dev] NPE using idp-initiated flow


Chronological Thread 
  • From: Steven Carmody <>
  • To: Shib-dev <>
  • Subject: [Shib-Dev] NPE using idp-initiated flow
  • Date: Thu, 17 Feb 2011 15:35:19 -0500

I pulled 2.3.0 from GU, and built it. It works fine with my "normal" usage.

However, when I tried this url, to triger the IDP-initiated sequence:

https://stc-test16.cis.brown.edu/idp/profile/SAML2/Unsolicited/SSO?providerId=https://stc-test9.cis.brown.edu/shibboleth

I got this NPE in my log file:

15:28:57.517 - DEBUG [edu.internet2.middleware.shibboleth.idp.session.IdPSessionFilter:156] - No session associated with session ID MGMwZmZlOGZmOTU2MGNlNDQyZTdhYTRiZWU1MWIwZGIwOTI4NTkwOGIwMjIwOTQyMTAzMTJhMDZlMTg0NzkzNA== - session must have timed out
15:28:57.517 - INFO [Shibboleth-Access:73] - 20110217T202857Z|128.148.46.16|stc-test16.cis.brown.edu:443|/profile/SAML2/Unsolicited/SSO|
15:28:57.518 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.IdPProfileHandlerManager:85] - shibboleth.HandlerManager: Looking up profile handler for request path: /SAML2/Unsolicited/SSO
15:28:57.522 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.IdPProfileHandlerManager:96] - shibboleth.HandlerManager: Located profile handler of the following type for the request path: edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler
15:28:57.523 - DEBUG [edu.internet2.middleware.shibboleth.idp.util.HttpServletHelper:316] - LoginContext key cookie was not present in request
15:28:57.524 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler:159] - Incoming request does not contain a login context, processing as first leg of request
15:28:57.524 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler:310] - Decoding message with decoder binding 'urn:mace:shibboleth:2.0:profiles:AuthnRequest'
15:28:57.525 - DEBUG [edu.internet2.middleware.shibboleth.idp.profile.saml2.UnsolicitedSSODecoder:181] - Mocked up SAML message
15:28:57.553 - ERROR [edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:88] - Error occurred while processing request
java.lang.NullPointerException: null
at org.opensaml.xml.util.XMLHelper.getLSDOMImpl(XMLHelper.java:997) ~[xmltooling-1.3.1.jar:na]
at org.opensaml.xml.util.XMLHelper.writeNode(XMLHelper.java:903) ~[xmltooling-1.3.1.jar:na]
at org.opensaml.xml.util.XMLHelper.prettyPrintXML(XMLHelper.java:865) ~[xmltooling-1.3.1.jar:na]
at org.opensaml.ws.message.decoder.BaseMessageDecoder.logDecodedMessage(BaseMessageDecoder.java:91) ~[openws-1.4.1.jar:na]
at org.opensaml.ws.message.decoder.BaseMessageDecoder.decode(BaseMessageDecoder.java:77) ~[openws-1.4.1.jar:na]
at org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder.decode(BaseSAML2MessageDecoder.java:69) ~[opensaml-2.4.1.jar:na]
at edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler.decodeRequest(SSOProfileHandler.java:330) ~[shibboleth-identityprovider-2.3.0-SNAPSHOT.jar:na]
at edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler.performAuthentication(SSOProfileHandler.java:189) ~[shibboleth-identityprovider-2.3.0-SNAPSHOT.jar:na]
at edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler.processRequest(SSOProfileHandler.java:160) ~[shibboleth-identityprovider-2.3.0-SNAPSHOT.jar:na]
at edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler.processRequest(SSOProfileHandler.java:87) ~[shibboleth-identityprovider-2.3.0-SNAPSHOT.jar:na]
at edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet.service(ProfileRequestDispatcherServlet.java:83) ~[shibboleth-common-1.3.0.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na]



Archive powered by MHonArc 2.6.16.

Top of Page