Error Messages

The following list describes the card previewer error messages and the corresponding solutions.

Message Invalid variable <variable> in *setvariable() command.
Meaning The <variable> specified in the *menusetvariable() command was not between variable1 and variable20.
Solution Change the invalid variable to a valid variable name.
   
Message Attribute id <id> on entity does not match type in template.
Meaning The attribute's type did not match the type specified for the attribute in the template.
Cause The *defineattribute() command in the template may have been modified, a different template with the same *codename() was used to edit the entity, or an invalid entity was created by an input translator.
Solution You must clear the attributes for the solver off of the entity to edit the card.
Message Invalid entity type <type> specified in *menuentitytype().
Meaning A *menuentitytype() command with invalid type was present in the template file.
Solution Change the *menentitytype() command's parameter to be a valid entity name.
Message Too many <type> collectors used.
Meaning A maximum of 48 *menuentitytype() commands for the same entity type can be used in a card image. You have exceeded this limit.
Solution Reduce the number of *menuentitytype() commands for <type> to be less than 48.
Message Could not find entity <id> associated with attribute <attribute name>
Meaning An entity attribute holds an id without an entity.
Cause Entities may have been deleted or renumbered, or the *menuentitytype() command specifying the entity collected by this attribute was changed in the template file.
Solution None. The value is set to 0.
Message No attribute attached to menu item <name>.
Meaning An internal error has occurred while parsing an expression.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message No attribute attached to collector item <id>.
Meaning An internal error has occurred when a collector was selected.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message Could not find attribute named <name> in *menuoption(), skipping.
Meaning A *menuoption() or *menuoptionenum() command referenced <name> that does not have an *defineattribute() command.
Solution Change the *menuoption() or *menuoptionenum() command to reference a valid attribute name.
Message Could not find enumeration <enumeration> for *menuoptionenum().
Meaning *menuoptionenum() command referenced an <enumeration> that does not have an existing *enumeration() command.
Solution Change the *menuoptionenum() command to reference a valid enumeration.
Message Enumeration attribute <attribute> contains value <value> beyond limit of <maximum>.
Meaning <attribute> holds a <value> > <maximum>.
Cause Both *menuoptionenum() and *menufield() commands referencing <attribute> may exist in the template file. If this is the case, the user can type in <value> > <maximum>. An input translator may have also created <attribute> with the invalid <value>.
Solution If this occurs in a HyperMesh-developed template, contact HyperMesh support with the error. User generated templates can ensure that the value is within a certain range by using *menuif() and *menuattributeset() commands. Here is an example of how to limit an attribute's value to between 1 and 5.
*menuif([$ATTRIBUTE_NAME < 1])
*menuattributeset($ATTRIBUTE_NAME,1)
*menuendif()
*menuif([$ATTRIBUTE_NAME > 5])
*menuattributeset($ATTRIBUTE_NAME,5)
*menuendif()
Message Could not find attribute named <attribute>, skipping.
Meaning A *menufield() command referenced the attribute named <attribute> for which no *defineattribute() command exists.
Solution Change the *menufield() command to reference a valid attribute name.
Message Default value specified for always on attribute <attribute>.
Meaning A *menudefaultvalue() command modifies <attribute> that does not have a valid on/off value. The *menudefaultvalue() command will be ignored.
Cause The *menudefaultvalue() command in the template may have been added after the template was used on the current database, a different template with the same *codename() was used to edit the entity, or <attribute> was created with an invalid status by an input translator.
Message Failed to created attribute <attribute>.
Meaning An internal error has occurred in the card editor.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message Initial value expression for <attribute> could not be evaluated.
Meaning The expression specified in *menuinitialvalue() returned an error code. The <attribute> is created with the value 0 or a zero length string, depending on string.
Cause This error should only occur if you using the card editor on multiple entities.
Solution If you need the *menuinitialvalue() command to be executed, abort the editing on the current set of entities and edit them one at a time.
Message Initial value for <attribute> only valid for integer, real, or string.
Meaning A *menuinitialvalue() command references an attribute that was not of type integer, real, or string.
Solution Remove the *menuinitialvalue() command that references <attribute>.
Message Attribute <attribute> has different entity type (<entity>) than template.
Meaning A *menuentitytype() command conflicts with the entity type stored on <attribute>.
Cause The *menuentitytype() command modifying <attribute> in the template may have been changed after the template was used on the current database, two or more *menufield() commands referencing <attribute> with differing *menuentitytype() commands exists in the template file, a different template with the same *codename() was used to edit the entity, or <attribute> was created with an invalid entity type by an input translator.
Solution If a user-generated input translator is being used, make sure that attribute's entity type created by the translator matches that of the template file. Also check for and remove multiple *menufield()/*menuentitytype() commands referencing the same attribute in the block.
Message Failed to created entity attribute <attribute>.
Meaning An internal error has occurred in the card editor.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message Enumerated and legal input specified for <attribute>, legal ignored.
Meaning Both *menulegalvalue() and *menuenum() commands modify the same *menufield() command. The *menulegalvalue() commands are ignored.
Solution Remove either the *menuenum() command or all of the *menulegalvalue() modifiers from the *menufield() in question.
Message Enumerated and restricted input specified for <attribute>, restricted ignored.
Meaning Both *menurestrictedvalue() and *menuenum() commands modify the same *menufield() command. The *menurestrictedvalue() commands are ignored.
Solution Remove either the *menuenum() command or all *menurestrictedvalue() modifiers from the *menufield() in question.
Message Restricted and legal input specified for <attribute>, restricted ignored.
Meaning Both *menurestrictedvalue() and *menulegalvalue() commands modify the same *menufield() command. The *menurestrictedvalue() commands are ignored.
Solution Remove either all *menulegalvalue() commands or all *menurestrictedvalue() modifiers from the *menufield() in question.
Message menulegalvalue unsupported for storage type of <attribute>.
Meaning A *menulegalvalue() command modifies a *menufield() command that references an attribute that is not of type real, integer, or string.
Solution Remove the *menulegalvalue() modifier from the *menufield() command.
Message Illegal unsigned integer value returned for <data>.
Meaning An expression or data member value could not be displayed as an unsigned integer. The string "ERROR" is displayed in red for this field.
Solution Change the display type of this *menufield() command to real or exponential.
Message Illegal integer value returned for <data>.
Meaning An expression or data member value could not be displayed as an integer. The string "ERROR" is displayed in red for this field.
Solution Change the display type of this *menufield() command to real or exponential.
Message Illegal hexadecimal value returned for <data>.
Meaning An expression or data member value could not be displayed as a hexadecimal number. The string "ERROR" is displayed in red for this field.
Solution Change the display type of this *menufield() command to real or exponential.
Message No string data returned for <data>.
Meaning An expression or data member value could not be displayed as a string. The string "ERROR" is displayed in red for this field.
Solution Change the display type of this *menufield() command to something other than string.
Message beginrepeat - Expression <expression> could not be evaluated, skipping repeat block.
Meaning <expression> could not be evaluated for multiple entities.
Solution Reduce set of entities to use card editor until <expression> is resolvable.
Message Illegal repeat value return for <expression>.
Meaning A *beginrepeat() or *beginrepeat2d() command containing <expression> returned a value too large or too small. The repeat block is skipped.
Solution It is possible to get this error with valid data. Usually it is caused by a bad *menupointerset() command.
Message Illegal repeat 2d value return for <expression>.
Meaning A *beginrepeat() or *beginrepeat2d() command containing <expression> returned a value too large or too small. The repeat block is skipped.
Solution It is possible to get this error with valid data. Usually it is caused by a bad *menupointerset() command.
Message Invalid pointer name <pointer> in *menupointerset() command, ignoring.
Meaning The <pointer> specified in the *menupointerset() command was not between pointer1 and pointer20.
Solution Change the invalid pointer to a valid pointer name.
Message Invalid counter name <counter> in *menucounterset() command, ignoring.
Meaning The <counter> specified in the *menucounterset() command was not between pointer1 and pointer20.
Solution Change the invalid pointer to a valid counter name.
Message Error evaluating data for <counter>, setting to 0.
Meaning The expression in a *menucounterset() command could not be evaluated for this set of entities.
Solution Reduce the set of entities you are editing until the expression in *menucounterset() command can be evaluated.
Message Invalid variable name <variable> in *menuvariableset() command, ignoring.
Meaning The <variable> specified in the *menuvariableset() command was not between variable1 and variable20.
Solution Change the invalid variable to a valid variable name.
Message Error evaluating data for <variable>, setting to 0.
Meaning The expression in a *menuvariableset() command could not be evaluated for this set of entities.
Solution Abort editing the current set of entities, reduce the set of entities you are editing until the expression in *menuvariableset() command is evaluated.
Message Unable to find attribute <attribute> in *menuattributeset() command.
Meaning A *menuattributeset() command references an illegal attribute name.
Solution Change the attribute referenced by the *menuattributeset() command.
Message Could not find selected item <id>.
Meaning An internal error has occurred in the card editor.
Solution Contact HyperMesh support. The current model and template file are required to further investigate the problem.
Message Could not find tag attribute <attribute>.
Meaning A *cardmenuitem() command references an attribute that has no *defineattribute() command.
Solution Change <attribute> so that it references a valid attribute, or add a *defineattribute() command for <attribute>.
Message menuenum references undefined enumeration <name>.
Meaning An enumeration called <name> was not previously defined in the template file.
Solution Change <name> to match a valid enumeration name.
Message Output command reached before *beginmenu() for this entity.
Meaning The *output() command for this entity block, signifying the end of the block, was reached before a *beginmenu() command. Either the *beginmenu() does not exist in this entity block, or it was placed after the *output() command.
Solution Add or move the *beginmenu()/*endmenu() section before the *format() command for this block.
Message 2d array attribute <attribute> found outside of *repeat2d block().
Meaning Attributes of type arrayofreal2d and arrayofinteger2d can only be referenced in a *beginrepeat2d()/*endrepeat2d() section.
Solution Move the reference to <attribute> into a *beginrepeat2d()/ *endrepeat2d() section.
Message 2d array attribute <attribute> not resized properly (out of bounds).
Meaning An internal error has occurred in the card editor causing the array attribute to have the wrong size.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message Unknown attribute type <type number> found in attribute table.
Meaning An internal error has occurred in the card editor causing the array attribute to have the wrong size.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message *endmenu() command not reached for this entity.
Meaning The end of the template file was reached before the *endmenu() command.
Solution Add a *endmenu() command to match the last *beginmenu() command in template file.
Message *menuif() missing menuelse()/menuendif() command, aborting.
Meaning The end of the template file was reached before a *menuelse() or *menuendif() command for a *menuif() statement.
Solution Add a *menuendif() command to match the *menuif() command. Since the *menuif() commands can be nested, it may not be obvious which *menuif() is missing a *menuelse() or *menuendif() command.
Message *menuendif() command not found to terminate *menuelse() block.
Meaning The end of the template file was reached before a *menuendif() command was found to terminate a *menuif() and *menuelse() statement.
Solution Add a *menuendif() command to match the *menuif() command. Since the *menuif() commands can be nested, it may not be obvious which *menuif() is missing a *menuelse() or *menuendif() command.
Message Menu does not own pointer returned by strrgy.
Meaning An internal error has occurred in the card editor.
Solution Contact HyperMesh support. The data and template file are required to further investigate the problem.
Message Option attribute <attribute> not of type integer.
Meaning <attribute> referenced in a *menuoption() or *menuoptionenum() command was not an integer attribute.
Solution Changed the *menuoption() or *menuoptionenum() command so that it references an integer attribute.
Message Negative optioncount reached in case search block, aborting.
Meaning Too many *menuoptionend() commands exist in this block. There should be one *menuoptionend() command per *menuoption() or *menuoptionenum() command.
Solution Locate and remove the extra *menuoptionend() commands.
Message Invalid attribute <attribute> referenced in *beginrepeat() command.
Meaning The name <attribute> does not match a name in a *defineattribute() command.
Solution Change <attribute> to match the name of a valid attribute.
Message *beginrepeat() attribute <attribute> is not type integer.
Meaning Attributes specified in the *beginrepeat() command must be of type integer.
Solution Change the *beginrepeat() command to reference an integer attribute.
Message No *endrepeat() for zero length array.
Meaning The end of the template file was reached before a *endrepeat() command was found to match a *beginrepeat().
Solution Add a *endrepeat() command to match the *beginrepeat() command.
Message *endrepeat() found without matching *beginrepeat().
Meaning An extra *endrepeat() command exists in this block. There should be one *endrepeat() command per *beginrepeat() command.
Solution Locate and remove the extra *endrepeat() command.
Message *beginrepeat2d() found outside of *beingrepeat() block.
Meaning All *beginrepeat2d() commands must occur within a *beginrepeat()/*endrepeat() block.
Solution Move the *beginrepeat2d()/*endrepeat2d() block so that it occurs in a *beginrepeat()/*endrepeat() block.
Message Invalid attribute <attribute> referenced in *beginrepeat2d() command.
Meaning The name <attribute> does not match a name in a *defineattribute() command.
Solution Change <attribute> to match the name of a valid attribute.
Message *beginrepeat2d() attribute <attribute> is not type integer.
Meaning Attributes specified in the *beginrepeat2d() command must be of type integer.
Solution Change the *beginrepeat2d() command to reference an integer attribute.
Message No *endrepeat() for zero length array.
Meaning The end of the template file was reached before a *endrepeat() command was found to match a *beginrepeat().
Solution Add an *endrepeat() command to match the *beginrepeat() command.
Message *endrepeat2d() found without matching *beginrepeat2d().
Meaning An extra *endrepeat2d() command exists in this block. There should be one *endrepeat2d() command per *beginrepeat2d() command.
Solution Locate and remove the extra *endrepeat2d() command.