Code Fix: Searching for a user and specifying a manager who doesn’t exist results in an error
KB002335
PRODUCT
Issue Description
When you search for a user and specify a manager who does not exist, an undescriptive error is presented in the ADUM error logs.
Error Message
The following error occurs: "Error", "FindSecurityUsersWithDefault", "Object reference not set to an instance of an object.", " at ADUM.K2UserManager2.EscapeSearchFilter(String filter) at ADUM.K2UserManager2.FindSecurityUsersWithDefault(String Group, String Name, String Description, String Email, String Manager, String size, String domainLDAP, String upn, String uOrgUnit, String DisplayName)"
Resolution
- Ensure you have K2 Five RTM installed.
- Get the K2 Five RTM FP19 from Regional Support.
- Install the K2 Five RTM FP19 to apply the fix.
- The error message presented in the Adum error logs will now be more descriptive stating: "The distinguished name property for the manager '[Domain][Manager Name]' could not be found.".