Unable to add new groups to user.

Document ID : KB000074358
Last Modified Date : 20/03/2018
Show Technical Document Details
Introduction:
Error when adding group to user.  This started after an upgrade from an earlier release to 14.1


AttributeNotPresentException: This method requires the presence of an attribute which was not provided. The attribute is named <custom attribute>
Question:
Why is the following error displayed when trying to add a group to a user?

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.1 
Application Server - WebSphere 8.5.5.11 
Database - Oracle 12c 
Directory Server - CA Directory Build 14043 
Operating System - Linux 
Answer:
idmSelfSubscribing was part of your corporate user store.  It was a custom attribute that was not created when you upgraded to 14.1.  This is why it does not exist in your env.xml.  It does not exist in 14.1 which is why you are seeing the error: 

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

The attribute does not exist in Directory and in the Corpdirectory.xml. You will need to recreate this custom attribute. Make sure its in CA Directory and in your environment.xml. 

For the environment.xml you will copy one of the existing IM managed objects, paste it and modify the new object for dmSelfSubscribing 

Once added please reimport the new schema.xml from your management console.