Copy Failed - CMN-0007: 'PROJECT' attribute 'obj_request_category' is required
search cancel

Copy Failed - CMN-0007: 'PROJECT' attribute 'obj_request_category' is required

book

Article ID: 391014

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When copying certain projects in MUX, we get the following error:

Copy Failed - CMN-0007: 'PROJECT' attribute 'obj_request_category' is required

What can be the cause?

Log file shows the following error:

ERROR 2025-03-10 14:57:58,976 [https-openssl-nio2-443-exec-1483] object.tentative (clarity:myuser:mysession:PPM_REST_API) (0441bdaa-fac4-46dc-9dd3-bf01258b2f04) 
java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because "code_" is null
    at com.niku.odf.object.ObjectControllerImpl.getNewODFObject(ObjectControllerImpl.java:464)
    at com.niku.union.odf.ObjectController.getODFObject(ObjectController.java:518)

ERROR 2025-03-10 14:57:59,814 [https-openssl-nio2-443-exec-1483] odf.out (clarity:myuser:mysession:PPM_REST_API) (0441bdaa-fac4-46dc-9dd3-bf01258b2f04) Invalid value for attribute: z_project_category value: [null]

Environment

Any Clarity release

Cause

The Project Category attribute at the project object is set as required and the projects erroring at the copy action do not have the field populated

Resolution

If the Project Category attribute is set as required, please ensure it is populated at project level, so copying the procect instance is successful