AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named <custom attribute>
search cancel

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

book

Article ID: 74358

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction



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


A specific example:

AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named idmSelfSubscribing. 
at com.netegrity.llsdk6.imsimpl.BaseObject._getNoMap(BaseObject.java:1174) 
at com.netegrity.llsdk6.imsimpl.BaseObject.get(BaseObject.java:969) 

Environment

IM Version - 14.x

Cause

The error is indicating that custom attribute IdmSelfSubscribing does not exist in the Corpdirectory.xml.

Resolution


To resolve this please recreate this custom attribute and make sure its in your environment.xml. 



For the environment.xml, either export the existing xml and make a copy copy one of the existing IM managed objects, paste it and modify to be the object for IdmSelfSubscribing; or if this attribute exists in another environment, that environment could be exported and the IdmSelfSubscribing custom attribute copied over from that environment.  


Once the custom attribute has been added please reimport the new schema.xml into your management console and the issue should be resolved.