Subject Exception! "registerStatement called with no transaction"
Author lucafinzicontini
Hi all,
I am experiencing a problem with FB1.5: sometimes I get an exception
that says

registerStatement called with no transaction

and from this moment onward I am not able to perform any query
anymore! Any subsequent query gives me exception like:

-- GDS Exception 335544332. invalid transaction handle (expecting
explicit transaction start)

---ResourceException: org.firebirdsql.jca.FBResourceException: Error
reading data from the connection.

--- ResourceException: org.firebirdsql.jca.FBResourceException: local
transaction active: can't begin another

and after the last one, it keeps on repeating itself for any new
query...

The consequence of all this is that the application is not able to
perform queries anymore.

any hint?

it seems to me that the Connection object got broken or damaged in
some way... I was thinking about trying to close and reopen the
connection, but I wanted to know more about the causes of this kind of
exception.

thank you very much!