Re: String index out of range - Postgresql 7.3.4, Resin & - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: String index out of range - Postgresql 7.3.4, Resin &
Date
Msg-id Pine.LNX.4.33.0312080414540.19307-100000@leary.csoft.net
Whole thread Raw
In response to String index out of range - Postgresql 7.3.4, Resin & JDBC  ("Antony Brooke-Wood" <antony@l-o-u-d.com>)
List 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

pgsql-bugs by date:

Previous
From: Richard Huxton
Date:
Subject: Re: installation problem
Next
From: Seum-Lim Gan
Date:
Subject: 7.4 build error in Solaris