The object is already closed 90007-175 vs 9007-185

546 views
Skip to first unread message

hezjing

unread,
Jan 22, 2015, 4:41:29 AM1/22/15
to h2-da...@googlegroups.com
Hi

I'm seeing the following exception in H2 trace file,

org.h2.jdbc.JdbcSQLException: The object is already closed [90007-185]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
at org.h2.message.DbException.get(DbException.java:179)
at org.h2.message.DbException.get(DbException.java:155)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:983)
at org.h2.jdbc.JdbcPreparedStatement.checkClosed(JdbcPreparedStatement.java:1620)
at org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:959)
at org.h2.jdbc.JdbcStatement.clearWarnings(JdbcStatement.java:293)


I also found a similar error with different code like "The object is already closed [90007-175]". So what does the code 9007-185 and 90007-175 means?

Noel Grandin

unread,
Jan 22, 2015, 6:11:00 AM1/22/15
to h2-da...@googlegroups.com
It means that you're calling a method on the JDBC Statement object after you have called close() on the object, which is
illegal.

Thomas Mueller

unread,
Jan 22, 2015, 3:36:07 PM1/22/15
to H2 Google Group
Hi,

So what does the code 9007-185 and 90007-175 means?


90007 is the error code (see ErrorCode.java) and 175 is the build number of H2 (version 1.3.175).

Regards,
Thomas



On Thu, Jan 22, 2015 at 12:10 PM, Noel Grandin <noelg...@gmail.com> wrote:
It means that you're calling a method on the JDBC Statement object after you have called close() on the object, which is illegal.


--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscribe@googlegroups.com.
To post to this group, send email to h2-da...@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages