IllegalStateException : inappropriate state
Hi,
i am getting following problem while closing ResultSet.
-------------------------------------------
Code is
-------------------------------------------
if (rs != null) {
rs.close();
}
if (ps != null) {
ps.close();
}
rs = ResultSet
ps = PreparedStatement
these are in try catch block.
-------------------------------------------
error message : call() called in inappropriate state
stacktrace : java.lang.IllegalStateException: call() called in inappropriate state at org.ibex.nestedvm.Runtime.call(Runtime.java:655) at org.ibex.nestedvm.Runtime.call(Runtime.java:647) at
org.sqlite.NestedDB.call(NestedDB.java:406) at org.sqlite.NestedDB.call(NestedDB.java:389) at org.sqlite.NestedDB.reset(NestedDB.java:135) at org.sqlite.RS.close(RS.java:98)
can any body help me, why i am getting such exception and what is the solution for it. i am using sqlitejdbc-v056 version
Thanks in Advance
Tej Kiran
Subject
Views
Written By
Posted
IllegalStateException : inappropriate state
8531
April 07, 2010 01:36AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.