Troubleshooting Policy Xpress REST GET JsonMappingException
search cancel

Troubleshooting Policy Xpress REST GET JsonMappingException

book

Article ID: 371304

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

During the execution of a Policy Xpress (PX) REST GET call, an ERROR [ims.policyxpress.WebserviceUtils.class] JsonMappingException may appear in the logs. This article explains why this error occurs and how to verify if it requires remediation.

Environment

Identity Manager 14.5 & 15

Cause

The Policy Xpress REST connector expects the return payload to be a JSON object (deserialized as a HashMap). If the REST endpoint returns a primitive value, such as an Integer or String (e.g., "id" or email), the deserialization process fails, resulting in a JsonMappingException: Cannot deserialize value of type java.util.HashMap from Integer value.

Resolution

  1. Verify Functionality: Check the output of your Policy Xpress REST GET call. If the REST GET call returns the expected data and the PX logic completes successfully, the error is benign.
  2. Evaluate Log Impact: Because this error occurs within the connector's internal deserialization process and does not affect the functional outcome of the PX rule, you can safely ignore the log entry if the rule logic is executing as expected.
  3. Monitor: No configuration changes are required to eliminate this log entry, as it is an inherent behavior of the data handling in the current Policy Xpress implementation.

Additional Information

To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.