How the API clonePart (from com.matrixone.apps.engineering.Part) retrieve the good Policy to create Part ?

In DEC Model, when we try to duplicate a Part, the ootb send an error (java.lang.NullPointerException).

So i need to know how the following API retrieve the policy to use for the duplicated part.

import com.matrixone.apps.engineering.Part;

Part part = (Part) DomainObject.newInstance(context, DomainConstants.TYPE_PART, DomainConstants.ENGINEERING);

String clonedObjectId = part.clonePart(context, programMap);


Regards