Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 72FD89F9C3C for ; Thu, 27 Sep 2007 17:23:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95470-09 for ; Thu, 27 Sep 2007 17:23:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 7E0B99F9C0D for ; Thu, 27 Sep 2007 17:23:51 -0300 (ADT) Received: (qmail 25923 invoked by uid 1112); 27 Sep 2007 20:23:49 -0000 Date: Thu, 27 Sep 2007 16:23:49 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Ludovico Bianchini cc: pgsql-jdbc@postgresql.org Subject: Re: ResultSet with more than 5 rows causes error In-Reply-To: <008901c8011f$8c815800$4101a8c0@MRHYDE> Message-ID: References: <008901c8011f$8c815800$4101a8c0@MRHYDE> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/125 X-Sequence-Number: 17547 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