Re: String index out of range - Postgresql 7.3.4, Resin &

From: Kris Jurka <books(at)ejurka(dot)com>
To: Antony Brooke-Wood <antony(at)l-o-u-d(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: String index out of range - Postgresql 7.3.4, Resin &
Date: 2003-12-08 09:19:33
Message-ID: Pine.LNX.4.33.0312080414540.19307-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, 24 Nov 2003, Antony Brooke-Wood wrote:

> HI,
>
> We are getting the following error through a JSP.
>
> We received the same error for both 7.3.1 through 7.3.4 and several JDBC
> driver changes (currently running the latest).
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at java.lang.String.charAt(String.java:444)
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.toBoolean(AbstractJdbc1Resul
> tSet.java:684)
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.getBoolean(AbstractJdbc1Resu
> ltSet.java:102)
> at

This problem was fixed nearly three months ago in a patch from Kim Ho, but
unfortunately the builds on jdbc.postgresql.org have not been updated in
some time. This fix is in the 7.4 and HEAD cvs branches, but a source
build is the only way to get it at this point.

Kris Jurka

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message gerard manvu 2003-12-08 15:17:02 decode function
Previous Message Richard Huxton 2003-12-08 09:00:00 Re: installation problem