Informix Error -9457: Cannot convert large object handle to byte[].
Cause and resolution
Cannot convert large object handle to byte[].
The database server cannot obtain the content of a large object using a JDBC connection. Make sure the connection from which the large object comes is still valid.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-9457 fires when the database server can't obtain a large object's content over a JDBC connection — per the official guidance.
- The JDBC connection the large object came from no longer being valid, per the official guidance — the direct, only cause.
Solutions / Resolution
- Make sure the connection from which the large object comes is still valid, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invalidated JDBC connection.
Diagnostic Checks
- Check whether the originating JDBC connection is still open/valid, and reacquire the large object over a valid connection if not.
Related Errors / Related Topics
- -9455 — "Cannot access large object." A related large-object-access error, on a missing default sbspace rather than connection validity.
- -9456 — "Cannot get large object length." A related large-object-access error, on length retrieval rather than content retrieval.
- -9458 — "Cannot start large object search." A related large-object-access error, on seek rather than content retrieval.
- -9459 — "Large object Error: (%s)." The general large-object-access error this is a specific case of, on content retrieval.
The large object's content couldn't be retrieved as a byte array — check whether the originating JDBC connection is still valid.