Subject Problems with newest Jaybird build
Author Carsten Schäfer
Hi,
I'm using the newest Jaybird Build from yahoogroups-filesection with Firebird 1.0 on Win2000 with JRE 1.4.2_02.
After no problems for a few days i got the following exception:
java.lang.NullPointerException
 at org.firebirdsql.jgds.GDS_Impl.isc_dsql_execute2(GDS_Impl.java:871)
 at org.firebirdsql.jca.FBManagedConnection.executeStatement(FBManagedConnection.java:787)
 at org.firebirdsql.jdbc.FBConnection.executeStatement(FBConnection.java:1188)
 at org.firebirdsql.jdbc.FBStatement.internalExecute(FBStatement.java:1013)
 at org.firebirdsql.jdbc.FBStatement.executeUpdate(FBStatement.java:191)
 at com.TTC_Informatik.PAULA.general.WBH_Charge.ersetzeMessungenUndProgramme(WBH_Charge.java:692)
 
After that i tried to rollback but get this exception:
java.sql.SQLException: rollback called with AutoCommit true!
 at org.firebirdsql.jdbc.FBConnection.rollback(FBConnection.java:478)
 
but the first error occurs in Autocommit = false -Mode.
Directly after this errors i got:
java.sql.SQLException: ResourceException: org.firebirdsql.jca.FBResourceException: Error reading data from the connection.
null
Reason: Error reading data from the connection.
null
 at org.firebirdsql.jdbc.FBConnection.ensureInTransaction(FBConnection.java:1094)
 at org.firebirdsql.jdbc.FBPreparedStatement.<init>(FBPreparedStatement.java:65)
 at org.firebirdsql.jdbc.FBConnection.prepareStatement(FBConnection.java:228)
 
for the same connection and
java.sql.SQLException: ResourceException: org.firebirdsql.jca.FBResourceException: Unable to complete network request to host "".
Reason: Unable to complete network request to host "".
 at org.firebirdsql.jdbc.FBConnection.ensureInTransaction(FBConnection.java:1094)
 at org.firebirdsql.jdbc.FBStatement.executeQuery(FBStatement.java:149)
 
for any other connection.
From that on it's not possible to write to the database anymore, because i got:
java.sql.SQLException: ResourceException: org.firebirdsql.jca.FBResourceException: local transaction active: can't begin another
Reason: local transaction active: can't begin another
 at org.firebirdsql.jdbc.FBConnection.ensureInTransaction(FBConnection.java:1094)
 at org.firebirdsql.jdbc.FBStatement.executeQuery(FBStatement.java:149)
 
for every connection.
How can this happen ?
 
mfg
Carsten