Informix Error -50002: Box cannot be instantiated with a NULL container or geometry.
Cause and resolution
Box cannot be instantiated with a NULL container or geometry.
An ixBox constructor generates this message. A box must have both an anchor and a size set. They have no default sizes.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50002 fires in the GUI builder ("Window Painter") class library -- per the official guidance: An ixBox constructor generates this message. A box must have both an anchor and a size set. They have no default sizes.
- Box cannot be instantiated with a NULL container or geometry -- an invalid argument,
state, or NULL value reaching
ixBox's constructor, per the official guidance.
Solutions / Resolution
- Review the application's call to
ixBox's constructoragainst 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
ixBox's constructor, against the specific condition the official text describes.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50002 in this set yet.
Box cannot be instantiated with a NULL container or geometry.