java.lang.ArrayIndexOutOfBoundsException

From: J M Okomba <Okomba(at)kabage(dot)co(dot)ke>
To: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: java.lang.ArrayIndexOutOfBoundsException
Date: 2002-12-20 08:23:49
Message-ID: 715DF98A936DD211B29D0008C71E55D4945966@NTSERVER1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-12-20 14:10:58 Re: bug in new StatementHandler
Previous Message Noel 2002-12-20 04:35:13 Re: error when using move, any suggestions?