Support Article
NullPointerException occurs when Connect-REST wizard is run
SA-50532
Summary
NullPointerException occurs when Connect-REST wizard is run.
Error Messages
com.pega.pegarules.pub.PRException: Error mapping incoming response to .response_GET: java.lang.NullPointerException
at com.pega.pegarules.integration.engine.internal.JSONMappingUtils.setInboundJsonValue(JSONMappingUtils.java:120) ~[printegrint.jar:?]
at com.pega.pegarules.integration.engine.internal.ServiceMappingUtils.setInboundDataValue(ServiceMappingUtils.java:894) ~[printegrint.jar:?]
Steps to Reproduce
Run the Connect-REST wizard with sample JSON response that contains null value for a key or a property.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-40772.Published February 1, 2018 - 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.