AnsweredAssumed Answered

SAML Web SSO between Salesforce and Layer 7 - getting Null pointer exception

Question asked by kriba06 on Jun 5, 2015
Latest reply on Jun 9, 2015 by whiar01

We tried to setup SAML Web SSO between Salesforce and Layer 7 Gateway based on the product documentation steps and we are encountering the null pointer exception.


Exceptions from server log files:

2015-06-05T18:26:03.730+0530 SEVERE  450 com.l7tech.server.SoapMessageProcessingServlet: java.lang.NullPointerException

  1. java.lang.NullPointerException

        at com.l7tech.external.assertions.samlissuer.server.ServerSamlIssuerAssertion.checkRequest(Unknown Source)

        at com.l7tech.server.policy.assertion.composite.ServerCompositeAssertion.iterateChildren(Unknown Source)

        at com.l7tech.server.policy.assertion.composite.ServerAllAssertion.checkRequest(Unknown Source)

        at com.l7tech.server.policy.ServerPolicy.checkRequest(Unknown Source)

        at com.l7tech.server.policy.x.call(Unknown Source)

        at com.l7tech.server.policy.x.call(Unknown Source)

        at com.l7tech.common.log.HybridDiagnosticContext.doInContext(Unknown Source)

 

2015-06-05T18:26:03.734+0530 INFO    450 com.l7tech.server.message: Processing request for service: /connect/enterprise/federation/idpinit [/connect/enterprise/federation/idpinit]

2015-06-05T18:26:03.734+0530 INFO    450 com.l7tech.server.policy.assertion.credential.http.ServerHttpBasic: 4104: Found user: XXXX@XX.XX

2015-06-05T18:26:03.735+0530 INFO    450 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: User is part of Salesforce group

2015-06-05T18:26:03.735+0530 INFO    450 com.l7tech.server.policy.assertion.ServerAuditDetailAssertion: -4: User is valid

2015-06-05T18:26:03.736+0530 INFO    450 com.l7tech.server.MessageProcessor: 3017: Policy evaluation for service /connect/enterprise/federation/idpinit [193e74c48159d668dcfece96e24c3220] resulted in status -1 (Undefined)

 

The user is authenticated, but server throws Null Pointer exception and we are not able to proceed further.

 

 

The response we received from browser is:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<soapenv:Body>

<soapenv:Fault>

<faultcode>soapenv:Server</faultcode>

<faultstring>Error in assertion processing</faultstring>

<faultactor>

https://kumji01-i130947.ca.com:8443/connect/enterprise/federation/idpinit

</faultactor>

<detail>

<l7:policyResult xmlns:l7="http://www.layer7tech.com/ws/policy/fault" status="java.lang.NullPointerException"/>

</detail>

</soapenv:Fault>

</soapenv:Body>

</soapenv:Envelope>

 

 

Any pointers would be helpful.

-Bala

Outcomes