This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


When starting a process instance in K2 Workspace or opening a worklist item  as a user whose name in Active Directory or a different user manager contains special characters in the display name such as Paul\Finance will result in an ‘Object reference not set to an instance of an object’ error  being displayed. The following special characters can cause this issue: { , ; + = > < / \ "}. This issue will also occur if the user is part of a security group or organizational unit.

Error Scenario

Note: The circumstances described in this article are one scenario under which this issue may, or is known to occur. The description is intended to be specific to the scenario described and does not take into account all possible scenarios or circumstances.
  1. Create a Security Group in Active Directory and add a username with special characters such as Paul\Finance
  2. Use the Security Group as the Destination for the Client Event
  3. Start the process in Management Console with this user ensuring that the Security Group the user belongs to has Start rights
  4. An ‘Object reference not set to an instance of an object’ error occurs
  5. Or try and open the worklist item in K2 Workspace with this user and the ‘Object reference not set to an instance of an object’ error will occur

Error Message

When the K2 server is in console mode the following error occurs:

'Object reference not set to an instance of an object.| at ADUM.K2UserManager2.FindSecurityGroupsWithDefault(String User, String Name, String Description, String domainLDAP, String uOrgUnit)....'


Error Resolution

This Hotfix is contained within the latest K2 blackpearl 0807 Update. Install the update package to resolve the error.

The latest K2 blackpearl 0807 Update is available as an independent installation package which can be found here: http://portal.k2.com/downloads/bp/Default.aspx