java.util.HashMap<java.lang.Object,java.lang.Object> from Integer value (token JsonToken.VALUE_NUMBER_INT)
search cancel

java.util.HashMap<java.lang.Object,java.lang.Object> from Integer value (token JsonToken.VALUE_NUMBER_INT)

book

Article ID: 371304

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

When we execute a REST GET call in the data tab using a Policy Xpress, we received the following error:

ERROR [ims.policyxpress.WebserviceUtils.class] (Thread-9423 (ActiveMQ-client-global-threads)) JsonMappingException:Cannot deserialize value of type java.util.HashMap<java.lang.Object,java.lang.Object> from Integer value (token JsonToken.VALUE_NUMBER_INT)
at [Source: (String)"XXXX"; line: 1, column: 1]

Where XXXX is a number or string

The PX works correctly, the REST GET call returns the expected value.

Is this an issue or an expected error message?

Environment

Identity Manager 14.x

Resolution

This is an expected behavior since the returned attribute is "id" or "user's email", these are integer and string values respectively and the expected result is a JSON.

What we suggest if there is no functional issue everything working fine just ignore this error message as it is in the log only.