Support Article
Null pointer exception when generating rules using Connect-REST
SA-28531
Summary
When using the REST integration wizard to upload a sample response, the wizard does not generate response rules. The below error appears on the screen.
Error Messages
"Generation process has been canceled and all created records have been removed
Cancelling rule generation, Failed to process the sample XML instances: null"
Steps to Reproduce
- Create a REST connector using the Connector Wizard.
- Give any URL for the REST service and click Next.
- Click Next again.
- In Select Methods tab, select method as POST and click Configure.
- In request tab of configuration menu, upload an XML file in the 'Sample Requests To Make Request Data Model'.
Click OK and Next.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-29554.
Published October 13, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.