java.lang.ArrayIndexOutOfBoundsException - Mailing list pgsql-jdbc

From J M Okomba
Subject java.lang.ArrayIndexOutOfBoundsException
Date
Msg-id 715DF98A936DD211B29D0008C71E55D4945966@NTSERVER1
Whole thread Raw
List pgsql-jdbc
Hi,

I have upgraded to Postgres 7.3 from Postgres 7.2 and keep getting
java.lang.ArrayIndexOutOfBoundsException. I am using pg73jdbc3.jar driver
with JDK 1.4.0.

I have tried changing the database encoding (using -E option) but this
hasn't solved the problem. This is the stack trace:

---------------------------------------
java.lang.ArrayIndexOutOfBoundsException
        at org.postgresql.core.Encoding.decodeUTF8(Encoding.java:259)
        at org.postgresql.core.Encoding.decode(Encoding.java:165)
        at org.postgresql.core.Encoding.decode(Encoding.java:181)
        at
org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1RsultSet.
java:97)
        at
org.postgresql.jdbc2.AbstractJdbc2ResultSet.getObject(AbstractJdbc2RsultSet.
java:120)
        at
org.apache.commons.dbcp.DelegatingResultSet.getObject(DelegatingResutSet.jav
a:177)
---------------------------------------

I will appreciate help to resolve the problem.

Thanks in advance.

Regards,

Mugoma Okomba

pgsql-jdbc by date:

Previous
From: Noel
Date:
Subject: Re: error when using move, any suggestions?
Next
From: Dave Cramer
Date:
Subject: Re: bug in new StatementHandler