REST API call failed with null pointer exception
search cancel

REST API call failed with null pointer exception

book

Article ID: 225498

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

While doing REST API call through CA Identity Manager Policy Xpress (PX), It is not returning any results and returns a null pointer error, but the same API call is working through Swagger, Postman and Java Code, etc.

The application log files also show the following error:

2021-09-27 10:42:04,991 ERROR [ims.policyxpress.WebserviceUtils.class] (default task-36) JsonMappingException:Can not deserialize instance of java.util.HashMap out of START_ARRAY token at [Source: java.io.StringReader@68f87a90; line: 1, column: 1]
2021-09-27 10:42:04,991 ERROR [ims.ui] (default task-36) com.netegrity.webapp.page.TaskController: java.lang.NullPointerException

Environment

Release : 14.3

Component :

CA IDENTITY SUITE (VIRTUAL APPLIANCE)

CA IDENTITY MANAGER (IDENTITY MANAGER)

Cause

Unsupported feature

Resolution

CA Identity Manager only supports JSON objects, the error is returned when attempting to retrieve a JSON Array.