Clarity: CSK Content Pack failed to install with an error regarding project role does not exist

Document ID : KB000017374
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When installing the CSK content pack, I received an error message that the content pack failed to install.

Example of error message:


   Error Applying XOG: Failure occurred while applying projects/csk_appCOTS_2.xml
   Check C:\Niku\Clarity\logs\content\xog\csk\projects/csk_appCOTS_2_out.xml
   for errors
   Failed to install content pack. ID: csk: exec returned: 2
   Failed to install content pack. ID: csk: exec returned: 2
   Error occurred: C:\Niku\Clarity\META-INF\content\xog\csk\install.xml:240:
   exec returned: 2 

Checking the csk_appCOTS_2_out.xml, there is an error regarding a project role does not exist:


   <ErrorInformation>
   <Severity>FATAL</Severity> 
   <Description>Project Object update failed</Description> 
   <Exception>
   <![CDATA[ 
   java.lang.Exception: Project role csk.architect does not exist 

Solution:

XOG (which is used in the content pack install) is case sensitive, so the case type of the Role ID in Clarity must be updated to match that displayed in the error message.

Note: Some IDs have mixed upper case and lower case in the role ID, so use what is displayed in the error message.

To update the role ID (example below is for role: Architect):

  1. In Clarity, go to Home->Resources

  2. Filter for Resource/Role ID csk.architect

  3. Click on the link for the role

  4. In Role ID, update the ID to csk.architect and save your changes

  5. Proceed with the content pack install