Error 21054

Message

Possible error messages:

Without Resource Bundle (default)
  • Attribute "{NAME}" can not be used in SUM or AVG
With Resource Bundle
  • Attribute "{ATTRIBUTE_NAME}" can not be used in SUM or AVG
Domain Persistence.PersistenceException
Number 21054
Label ATTRIBUTE_CANNOT_USED_IN_SUM_OR_AVG
Applicable Platform(s) iOS, Android, BlackBerry, Windows Mobile

Cause

The data type is incorrect". should be something like "The data type of the specified attribute cannot be used in SUM or AVG.

Action

Use only these primitive data types with SUM or AVG : BYTE,SHORT,INT,LONG,INTEGER,DECIMAL,FLOAT,DOUBLE.