AttributeNotPresentException logged in IM
search cancel

AttributeNotPresentException logged in IM

book

Article ID: 132173

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction

CA Identity Portal (IP) Connector Fails to Connect to CA Identity Manager (IM).

In this scenario, the IP and IM Web Services are enabled inside IM, but the IP connector fails to start with the following message

ErrorCode: 200650, ErrorFamily: GENERAL, Message: com.idmlogic.sigma.backend.exceptions.BackendException: Calling webservice Get all admin tasks failed
BackendMessages: 
Error: Message: <html><head><title>Error</title></head><body>Internal Server Error</body></html>, 

On the IDM side the following error present:

AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named DateStoragePattern

Environment

CA Identity Suite Virtual Appliance (vApp) 14.2/ 14.3

 

Cause

This is caused when the "DateStoragePattern" screen value is missing within the IDM Roles and Tasks xml.  When IP is requesting tasks from IDM, it was unable to find that attribute and returns an error.

Resolution

The attribute (DateStoragePattern) is mainly called under the below screens:

Default Active Directory Groups Standard List
Default Active Directory Group Membership Standard List
Default Active Directory Members Account Standard List
Default Active Directory Members Group Standard List

To correct this issue, Open IM management console, Home > Environments > identityEnv > Roles > Export out your roles and tasks. (Keep the original as a backup)

If this machine was an upgrade from a previous version or had older roles and tasks XML imported, you will need to update to the latest roles and tasks.

Home › Environments > identityEnv > Roles > Import > Select 14 to 14.X Provisioning ( if you have provisioning enabled).

If the error still exists, export out your roles and tasks once more and then search for 'DateDisplayPattern' and modify the field to mimic the below field then import the xml and finally confirm resolution.

Example:

<Property name="DateDisplayPattern">M/d/yyyy HH:mm Z</Property>
<Property name="DateStoragePattern">yyyy-MM-dd&apos;T&apos;HH:mm Z</Property>

 

Note:

The XML should be updated only where the information is missing. 

In other words, if there is no corresponding entry for the "DateDisplayPattern" or "DateStoragePattern" (see example below), you will need to manually update the XML.

<Property name="DateDisplayPattern"></Property>