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
- Create an agent
- Create the SendSimpleEmail activity and call the activity
- 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.
Published January 20, 2020 - 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.