Subject Re: [Firebird-Java] getDouble bug in the latest csv
Author Blas Rodriguez Somoza
Hello


At 01/12/2002 02:15 +0000, you wrote:
>It seems there is a bug on getDouble in the latest version from csv.
>The problem is gone if I switch to the Release candidate 1.
>
>See the error message below
>
> java.lang.NullPointerException
> at org.firebirdsql.jdbc.FBField.isNull(FBField.java:163)
> at org.firebirdsql.jdbc.FBResultSet.getField(FBResultSet.java:303)
> at org.firebirdsql.jdbc.FBResultSet.getDouble(FBResultSet.java:242)

It seems this error is the same one Roman Rokytskyy found some days ago, the lack of control of the driver when trying to access a resultSet when not in row or closed.

I commit a patch to throw exceptions when this happen. Please update your copy and try again.

Regards
Blas Rodriguez Somoza.