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 occurs when sending message



When an Investigation case is auto-created from a Message Case, the pyWorkPage reference corresponds to the Message Case. The corresponding page for the Investigation Case is the NewWorkCase. Correspondence is sent from the Investigation Case. However, NullPointerException occurs and the message is not sent when the reference is hardcoded to the pyWorkPage instead of to the parameterized work page name.

Error Messages


Steps to Reproduce

  1. Receive an inbound message case.
  2. Allow the system to auto-create an Investigation case. The system must send an STP correspondence when the Investigation case is created. However, the message is not sent.

Root Cause

The following activities are hardcoded with the incorrect pyWorkPage reference.
  • AppCorrCreateSwiftSTP
  • AppCorrCreateSwiftSTPAcctg
  • AppCorrCreateFedSvcCorrSTP
  • AppCorrCreateStructMsgSTP
  • AppCorrCreateSwiftCorrSTP
  • AppCorrCreateSTPAcctg
  • AppCorrCreateSTP
  • AppCorrCreateFedSvcSTP


Apply HFix-47188.

Published December 12, 2018 - 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