Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

SAML 2.O SSO Integration Null Pointer Exception error



Getting Null Pointer Exception error on the Authentication response receiving from the IDP .

Error Messages

Error while executing the Authentication Service activity : Unable to process SAML2 Authentication response : Caught Exception while validating SAML2 Authentication response protocol : null

Steps to Reproduce

Attempt to login with SAML authentication.

Root Cause

The root cause of this problem is a defect in application rules. 

The assertion is encrypted and when Pega cannot decrypt the message the above mentioned error is displayed. 


When using SAML 2.0 authentication the decryption certificate as defined in the Data-Admin-AuthService must be same as the certificate used to encyrpt the assertion at the IDP side.

Published July 27, 2015 - Updated October 8, 2020

Was this useful?

50% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us