Informix Error -1145
-1145 Cannot open ERROR window.
4GL attempted to open a one-line, 80-column window in which to display an error message but was not able to do so. Possible causes include a shortage of data memory and internal errors.
For 4GL programs, -1319 replaces this error.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1145 fires when the 4GL runtime itself can't open its own one-line, 80-column error-message
window — per the official guidance, this can result from insufficient memory or internal system
errors; -1319 replaces this error for newer 4GL programs.
- Insufficient memory, per the official guidance — the same general resource constraint behind -1137's ordinary window-open failure, but for the runtime's own internal error window.
- An internal system error, per the official guidance's other named possibility, with no further detail given.
Solutions / Resolution
- Free up memory — close unneeded windows and/or reduce global variable usage, the same general remedy as -1137, since this error shares that underlying resource constraint.
- If memory doesn't appear to be the issue, note all circumstances and contact IBM Informix Technical Support, given the official guidance's own "internal system errors" framing.
Examples
N/A
This is the runtime's own internal error-display mechanism failing, not a statement the application controls directly — address memory pressure as the first, most likely cause.
Diagnostic Checks
- Check overall memory pressure — open window count and global variable usage — as the first, most likely cause.
Related Errors / Related Topics
- -1137 — "Cannot open window." A related window-open error, about an ordinary application-opened window rather than the runtime's own error-display window.
- -1319 — Replaces this error code for newer 4GL programs.
The runtime couldn't open its own error-message window, most likely from memory pressure — free memory first (see -1319, which replaces this in newer 4GL programs).