Identity Governance (IG) to Identity Manager (IDM) Import Failure: Unexpected Null Value
search cancel

Identity Governance (IG) to Identity Manager (IDM) Import Failure: Unexpected Null Value

book

Article ID: 192469

calendar_today

Updated On:

Products

CA Identity Governance CA Identity Manager CA Identity Portal CA Identity Suite

Issue/Introduction

When performing an import from Identity Governance (IG) to Identity Manager (IDM), the process may fail during or immediately following the role import phase. The logs or user interface will report the following exception:

Error: com.ca.clientconnection.clientapi.ClientConnectionException: java.lang.NullPointerException: Unexpected null value

This error indicates that the integration logic encountered a null object where a value (such as a Provisioning Role or a specific attribute lookup) was expected.




Environment

When performing an import from Identity Governance (IG) to Identity Manager (IDM), the process may fail during or immediately following the role import phase. The logs or user interface will report the following exception:

Error: com.ca.clientconnection.clientapi.ClientConnectionException: java.lang.NullPointerException: Unexpected null value

This error indicates that the integration logic encountered a null object where a value (such as a Provisioning Role or a specific attribute lookup) was expected.

Cause

The java.lang.NullPointerException: Unexpected null value occurs when the client connection API attempts to process an object that has an invalid or missing reference in the Provisioning Server. This is commonly due to a lookup failure where a Provisioning Role points to an attribute or account template that no longer exists or is inaccessible.

Resolution

To resolve this issue, you must identify the specific object causing the null pointer by enabling diagnostic logging.

Step 1: Enable Debug Logging

  1. In the Identity Governance Portal, navigate to Home > Administration > Support Tools > Log Settings.
  2. Enable debug logging for the import/export modules.
  3. Rerun the Import task to capture the failure in the logs.

Step 2: Review Logs and Correct Data

  1. Open the logs and search for the NullPointerException.
  2. Identify the object (User, Role, or Account) referenced immediately before the error.
  3. In many scenarios, this is caused by a lookup failure within a Provisioning Role.
  4. Verify that all Provisioning Roles involved in the import exist and have valid attribute mappings.
  5. Correct any missing or orphaned references in the Provisioning Role configuration and re-attempt the import.

mport.