Subject Re: JayBird NullPointerException BUG?
Author Roman Rokytskyy
> The executeUpdate fails some times, but i can't find the exact
> reason. If the parametrer value for the BLOB si NOT null it works
> all the time. If the parameter value for the BLOB is null it fails
> SOME times. Probably that's not the reason but it might be a clue.
>
> The NullPointerException is caused because JayBird tries to create a
> ByteArrayInputStream with a null input buffer array parameter. You
> can see this in the stackTrace (ByteArrayInputStream.java:85).

I think this is a bug. Unfortunatelly I have no time to debug it from
the information you provided, but if you can prepare working test case
that reproduces it, I think it will be a matter of few hours if not
minutes to find it.

Thanks!
Roman