Informix Error -50102: Attempt to divide by zero.
Cause and resolution
Attempt to divide by zero.
This message is generated by ixNumeric. The ixNumeric::root() and ixNumeric::div() member functions are undefined for zero. You should check for zero roots and divisors before calling these functions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50102 fires in the GUI builder ("Window Painter") class library -- per the official guidance: This message is generated by ixNumeric. The ixNumeric::root() and ixNumeric::div() member functions are undefined for zero. You should check for zero roots and divisors before calling these functions.
- Attempt to divide by zero -- an invalid argument, state, or NULL value reaching
ixNumeric::root(), per the official guidance.
Solutions / Resolution
- Review the application's call to
ixNumeric::root()against the condition described above, and correct the argument, object state, or configuration involved, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond the GUI builder class library condition named in the official text.
Diagnostic Checks
- Check the application's use of
ixNumeric::root(), against the specific condition the official text describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50102 in this set yet.
Attempt to divide by zero.