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 when running an activity through an agent

SA-95479

Summary



NullPointerException when running an activity through an agent.



Error Messages



NullPointerException
 



Steps to Reproduce

  1. Create an agent
  2. Create the SendSimpleEmail activity and call the activity
  3. Run the activity through the agent


Root Cause



An issue in the custom application code or rules. The user called the SendSimpleEmail activity which calls the getEmailSenderInfo activity which is in Pega-Integration-Architect. Since the getEmailSenderInfo activity is in a different ruleset, it is unable to open Data – EmailAcoount class and resulting in the exception.


Resolution



Perform the following local-change:

Save the SendSimpleEmail activity the as well getEmailSenderInfo activity in the same ruleset.




 
Suggest Edit

Published January 20, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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