From: Kris Jurka <books@ejurka.com>
To: Ludovico Bianchini <metlud@yahoo.it>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: ResultSet with more than 5 rows causes error
Date: Thu, 27 Sep 2007 16:23:49 -0400 (EDT)
Message-ID: <Pine.BSO.4.64.0709271620530.14153@leary.csoft.net> (raw)
In-Reply-To: <008901c8011f$8c815800$4101a8c0@MRHYDE>
References: <008901c8011f$8c815800$4101a8c0@MRHYDE>
On Thu, 27 Sep 2007, Ludovico Bianchini wrote:
> Sorry, the error does not seem to be in the ResultSet but instead in the
> Callable Statement, method execute().
>
> java.lang.NullPointerException
> at
> org.postgresql.core.v3.SimpleParameterList.getV3Length(SimpleParameterList.java:228)
> at
> org.postgresql.core.v3.QueryExecutorImpl.sendBind(QueryExecutorImpl.java:807)
It is likely failing at execution number 6 because that's the point where
the driver switches over to using server prepared statements instead of
executing things on the fly. I don't have time to take a look at this
now, but it's likely a driver problem. Hopefully I'll be able to look at
this on Sunday/Monday.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, metlud@yahoo.it
Subject: Re: ResultSet with more than 5 rows causes error
In-Reply-To: <Pine.BSO.4.64.0709271620530.14153@leary.csoft.net>
References: <008901c8011f$8c815800$4101a8c0@MRHYDE> <Pine.BSO.4.64.0709271620530.14153@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox