From: | Mike Fowler <mike(at)mlfowler(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Buildfarm: Test errors - StackOverFlowError |
Date: | 2011-10-03 21:31:30 |
Message-ID: | 4E8A29B2.5030901@mlfowler.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On 03/10/11 16:01, I wrote:
>
> [junit] java.lang.StackOverflowError
> [junit] at
> org.postgresql.jdbc2.TypeInfoCache.getPGType(TypeInfoCache.java:270)
> [junit] at
> org.postgresql.jdbc2.TypeInfoCache.getSQLType(TypeInfoCache.java:176)
> [junit] at
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getSQLType(AbstractJdbc2ResultSet.java:2776)
> [junit] at
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getString(AbstractJdbc2ResultSet.java:1920)
> [junit] at
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.getFixedString(AbstractJdbc2ResultSet.java:2736)
> [junit] at
> org.postgresql.jdbc3g.Jdbc3gResultSet.createArray(Jdbc3gResultSet.java:59)
> [junit] at
The tests run for 1.6 but not 1.5 or 1.4. Turns out some code has been
added for the binary handling in Jdbc4Array and Jdbc4ResultSet that also
needed to be added to Jdbc3Array, Jdbc3ResultSet, Jdbc3gArray and
Jdbc3gReultSet. If you take out the different code in the 4 code you get
the same StackOverflowError. The attached patch resolves this.
Regards,
--
Mike Fowler
Registered Linux user: 379787
The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT
flossuk DOT org for details.
Attachment | Content-Type | Size |
---|---|---|
stackOverflowError.patch | text/x-diff | 4.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2011-10-04 02:37:51 | Re: OpenJPA problems running against PG 8.1 |
Previous Message | Mike Fowler | 2011-10-03 15:01:37 | Buildfarm: Test errors - StackOverFlowError |