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

NullPointerException on validating token with ProcessJWT activit

SA-96962

Summary



User has configured an authentication service which use the out-of-the-box ProcessJWT activity to validate the signed JWT token received.

NullPointerException while validating token using the ProcessJWT activity.



Error Messages



Unable to process the Json Web Token 
java.lang.NullPointerException 
    at com.pega.pegarules.session.external.authorization.KeystoreData.addPublicKeyCertificatesToAliasMap(KeystoreData.java:493) ~[prenginext.jar:?] 
    at com.pega.pegarules.session.external.authorization.KeystoreData.<init>(KeystoreData.java:561) ~[prenginext.jar:?] 
    at com.pega.pegarules.session.internal.authorization.KeyStoreCacheImpl.put(KeyStoreCacheImpl.java:457) ~[prprivate.jar:?] ...



Steps to Reproduce

  1. Log in to the application
  2. Create a custom type authentication service
  3. In the Authentication activity, call the pxProcessJWT activity to validate the token received
     

Root Cause



A defect in Pegasystems’ code or rules.


Resolution

Apply HFix-59110.



 

Published January 6, 2020 - Updated December 2, 2021

Was this useful?

0% 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