CompartByPrimitive has no CompartShapeDef object.
CompartByPrimitive has no CompartShapeDef object as input.
Coding or data model errors.
Modification of the object is not possible.
What You Should Do
The object should be deleted. To delete the object, run the Clean Database custom command (ProgID SP3DCleanDatabaseCmd.CCheckObj). This command displays a dialog box that lists the objects in error. From the list you can select the objects and delete them.