| From: | Barry Lind <barry(at)xythos(dot)com> |
|---|---|
| To: | floyds(at)4peakstech(dot)com |
| Cc: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: NullPointerExceptions in empty ResultSets |
| Date: | 2002-06-13 19:33:30 |
| Message-ID: | 3D08F38A.5020304@xythos.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Floyd,
Can you provide an simple test case that reproduces the problem?
thanks,
--Barry
Floyd Shackelford wrote:
>
> i just upgraded to the latest jdbc driver and am now getting errors
> in empty ResultSets (i.e. the sql select returned 0 rows) where i used
> to not get an error. here are some examples:
>
> java.lang.NullPointerException at
> org.postgresql.jdbc2.ResultSet.beforeFirst(ResultSet.java:876)
> java.lang.NullPointerException at
> org.postgresql.jdbc2.ResultSet.last(ResultSet.java:1133)
>
> please let me know if this is an error and if so:
>
> 1. how do i work around it for now
> 2. when can i have a new version of the jdbc jar file?
>
> Regards,
>
> Floyd Shackelford
> 4 Peaks Technology Group, Inc. <http://www.4peakstech.com/>
> VOICE: 334.735.9428
> FAX: 916.404.7125
> EMAIL: FloydS(at)4PeaksTech(dot)com <mailto:FloydS(at)4PeaksTech(dot)com>
> ICQ #: 161371538
>
> /acta non verba/
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Hooker | 2002-06-13 19:54:32 | Re: Problem with JTA/JTS |
| Previous Message | Floyd Shackelford | 2002-06-13 19:33:08 | Re: NullPointerExceptions in empty ResultSets |