Subject Re: [Firebird-Java] Re: Exception in jgds.GDS_Impl
Author Aljoscha Rittner

>> It's hard to reproduce this exception.

> I suspected that. :(

I've the same error.

>> It occurred after the 12-hour testing in multiple users mode.

> Can it be that you access one connection from multiple threads?

>> It may be my mistake. The question is what does this exception mean?

> It means that we try to convert some data from byte array to integer
> and for some reasons there's not enough data there... I'm just not
> sure if we should handle this situation, since checking if there's
> enough data will cure the symptom, not the reason.

> I will try to check what's happening there, but I'm not sure if I find
> anything.

java.lang.ArrayIndexOutOfBoundsException: 2
at org.firebirdsql.jgds.GDS_Impl.isc_vax_integer(
at org.firebirdsql.jgds.GDS_Impl.parseTruncSqlInfo(
at org.firebirdsql.jgds.GDS_Impl.parseSqlInfo(
at org.firebirdsql.jgds.GDS_Impl.isc_dsql_prepare(
at org.firebirdsql.jca.FBManagedConnection.prepareSQL( 767)
at org.firebirdsql.jdbc.FBConnection.prepareSQL(
at org.firebirdsql.jdbc.FBStatement.prepareFixedStatement(
at org.firebirdsql.jdbc.FBPreparedStatement.prepareFixedStatement(
at org.firebirdsql.jdbc.FBPreparedStatement.<init>(
at org.firebirdsql.jdbc.FBConnection.prepareStatement(

And this error is hard to reproduce. IMHO I've no multi-treading in
this case:

at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Source)

firebirdsql jca/jdbc resource adapter Ver.: 0.1
Firebird Ver.: WI-T1.5.0.3481 Firebird 1.5 Release
Candidate 3BWI-T1.5.0.3481 Firebird 1.5 Release Candidate 3/tcp