Subject Another driver bug
Author vmdd_tech
Here are steps to reproduce it.

1)
create table test (id int);

2)
CREATE OR ALTER PROCEDURE init_test
AS
declare i int;
begin
i = 1;
insert into test(id) values (:i);
i = i / 0;
end

3)
{call init_test()}

This will generate "GDS Exception. 335544321. arithmetic exception,
numeric overflow, or string truncation". This is expected. But
the next statement will cause the driver exception.

4) select * from test
This will cause the following exception:

java.lang.NullPointerException
at org.firebirdsql.jdbc.field.FBField.isNull(FBField.java:177)
at org.firebirdsql.jdbc.FBResultSet.getField
(FBResultSet.java:336)
at org.firebirdsql.jdbc.FBResultSet.getObject
(FBResultSet.java:295)


Ben