Error Messages/42653
Example Warning Message
The function Product was applied to an array containing only Null values.
Returning 1 for backward compatibility with Analytica releases before 4.4.
Cause
This warning only occurs when the Sys_AllNullTreatment
system variable is custom-configured to return pre-Analytica 4.4 results for certain functions when the parameter contains only Null values, and when it is also custom-configured to display this warning.
The Sys_AllNullTreatment
system variable is a bit field. The bit Sys_AllNullTreatment=2
turns on this warning, and bits >2 turn on the use of legacy (pre-4.4) values when the all-Null situation occurs. If you are seeing this warning, it means that this system variable is set to something like 6, and that an evaluation occurred in which the array parameter contained only Null values.
This warning is useful when you have a pre-4.4 model that has been configured to use legacy values for functions like Sum, Product and others, but when you want to update your model to behave correctly in 4.4 or later using the more consistent treatment of the all-Null case.
Remedy
You can suppress this message from typescript (Press F12) with:
Sys_AllNullTreatment: Sys_AllNullTreatment-2
See Also
- Null
- All Null Warning -- covers this is more detail
Enable comment auto-refresher