Re: [SQL] java.lang.StringIndexOutOfBoundsException: String

From: Kris Jurka <books(at)ejurka(dot)com>
To: Paul Thomas <paul(at)tmsl(dot)demon(dot)co(dot)uk>
Cc: <mohan(at)physics(dot)gmu(dot)edu>, "pgsql-jdbc (at) postgresql (dot) org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [SQL] java.lang.StringIndexOutOfBoundsException: String
Date: 2004-01-30 09:27:09
Message-ID: Pine.LNX.4.33.0401300423590.3078-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-sql

On Fri, 30 Jan 2004, Paul Thomas wrote:

>
> On 29/01/2004 16:34 mohan(at)physics(dot)gmu(dot)edu wrote:
> > Hi All
> >
> > I am having the torque3.1.jar and postgresql-7.4. I have compiled the new
> > jdbc driver called as postgresql.jar and have placed it in the lib
> > directory from where the ant scripts catch the jars. Whenever i try to
> > access through torque
> >
> > gestList = BaseGestlistPeer.doSelect(new Criteria());
> >
> > this error arises
> >
> > java.lang.StringIndexOutOfBoundsException: String index out of range: 23
> > at java.lang.String.charAt(String.java:460)
> > at
> > org.postgresql.jdbc2.ResultSet.toTimestamp(ResultSet.java:1653)
> > at
> > org.postgresql.jdbc2.ResultSet.getTimestamp(ResultSet.java:398)
> >

This stacktrace is from a 7.2 jar file. You probably have the old version
somewhere in your classpath.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message adp adp 2004-01-30 09:51:09 connectivity problem
Previous Message Paul Thomas 2004-01-30 09:10:42 Re: [SQL] java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460)

Browse pgsql-sql by date

  From Date Subject
Next Message Greg Stark 2004-01-30 09:56:22 Re: limit 1 and functional indexes: SOLVED
Previous Message Paul Thomas 2004-01-30 09:10:42 Re: [SQL] java.lang.StringIndexOutOfBoundsException: String index out of range: 23 at java.lang.String.charAt(String.java:460)