Check that you didn't close the statement before making this
call to next() in the ResultSet object.
Tom.
On Thu, Aug 09, 2001 at 09:34:51PM -0400, Dave Cramer wrote:
> Joseph,
>
> Can you post some code to reproduce the error please?
>
> Dave
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Joseph Shraibman
> Sent: August 9, 2001 9:27 PM
> To: [EMAIL PROTECTED]
> Subject: [JDBC] NullPointerException on next()
>
>
> Using the jdbc 7.1.2 drivers:
>
> Exception in thread "main" java.lang.NullPointerException
> at org.postgresql.jdbc2.ResultSet.next(ResultSet.java:116)
>
> that line is:
> if (++current_row >= rows.size())
>
> --
> Joseph Shraibman
> [EMAIL PROTECTED]
> Increase signal to noise ratio. http://www.targabot.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
--
Thomas O'Dowd. - Nooping - http://nooper.com
[EMAIL PROTECTED] - Testing - http://nooper.co.jp/labs
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster