Support Article
PRException.setStatus: java.lang.NullPointerException
SA-88828
Summary
When invoking the <Pega Environment> + <Authentication Service> URL, NullPointerException occurs before generating the SAML request.
Error Messages
[ttp-apr-8080-exec-53] [STANDARD] [ ] [PegaRULES:07.10] (sso.saml.SAMLRequestHandler) DEBUG ....... |..IP ..|RelayStateID: be88ca4c-4d38-415a-bc1b-1e689ed5f095 :RelayStateID - Creating SAML Auth request
2019-08-30 15:14:08,703 [ttp-apr-8080-exec-53] [STANDARD] [ ] [PegaRULES:07.10] (pegarules.pub.PRException) ERROR ..IP.. - Problem during PRException.setStatus:
java.lang.NullPointerException
Steps to Reproduce
- Configure SAML 2.0.
- Invoke the URL of <Pega Environment> + <Authentication Service>.
Root Cause
A software use or operation error.
The error occurred because the certificate Alias was added incorrectly.
Resolution
Perform the following local-change:
To enter an Alias, use the dropdown button to display all existing aliases in the Keystore.
Enable the below debug logs to debug the issue
- com.pega.pegarules.session.internal.authorization.KeyStoreCacheImpl
- com.pega.pegarules.integration.engine.internal.util.KeyStoreUtilsImpl
- com.pega.pegarules.session.external.authorization.KeystoreData
- com.pega.pegarules.session.external.authorization.KeystoreEntryData
Published October 16, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.