Compile-time error messages
When you generate the test data of a schema, you might encounter compile-time error messages. The schemas with compilation errors fail to generate the test data. You can view the error messages on the schema designer.
You can download the schema definition file (.mmc) to troubleshoot the compile-time errors from the following location of the HCL® OneTest™ Data pod:
/opt/hcl/hip-rest/maps/<genMapPath>
The following table lists the compile-time errors that can occur when you generate the test data:
- x = the map where the error occurred
- y = the output that displays the rule with error
Compile-time Error Message | Description |
---|---|
Map:x Output:y Output argument of rule does not match output item sub-class |
This error appears when you enter an invalid regular expression for an item type in Item Properties of the Properties dialog. For example, If you select Number as Item subclass in Item Properties of the Properties dialog and enter text as the value of the Regular Expression field, then you encounter this error. To resolve this error, enter the valid values for the regular expression. |
No such file or directory |
This error appears when you enter an incorrect filename for the Values file field while you set up the restrictions for an item type in the Properties dialog. To resolve this error, enter the correct filename that you want HCL® OneTest™ Data to use to import the values of the item type. |
Map:x Output:y Rule references unknown |
This error appears when you apply an invalid function for any item type. To resolve this error, apply the correct function. |
Group <component_name> Root does not have any components (or subtypes if it is a partitioned group). |
This error appears when you define an invalid schema. To resolve this error, ensure that you correctly define the type definitions of the schema and its properties. |
There is a missing component in group <component_name> Root |
This error appears when the reference of any type definitions exists in the Structure dialog and the definition of that type is missing in the Dictionary of the schema. For example, if in the Structure dialog, you have a reference of an item type Age, and the definition of this item type is missing in the Dictionary, then you encounter this error. To resolve this error, you must delete the reference of the type from the Structure dialog that does not exist in the dictionary. |