Problem running import in SAP and Oracle directory endpoint
From the Identity Governance log file we have the following error
ERROR [com.ca.clientconnection.ObjectSearch] (import-connector thread-14) LogicalObjectAssociationIterator.hasNext(): Failure: JSONObject["roleName"] not found.: org.codehaus.jettison.json.JSONException: JSONObject["roleName"] not found.
at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:371) [jettison-1.3.1.jar:1.3.1]
at org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:498) [jettison-1.3.1.jar:1.3.1]
at com.ca.clientconnection.clientimpl.util.DataProvider.processCompoundValue(DataProvider.java:273) [clientconnection-impl.jar:]
Identity Governance 14.x
The cause of this problem was an Account Template with an empty role name
For example, the Oracle Account Template:
For SAP Account Template
Remove the empty Role from the Account Template fixes the problem