RE: NullPointerException on next()

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Joseph Shraibman'" <jks(at)selectacast(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: NullPointerException on next()
Date: 2001-08-10 01:34:51
Message-ID: 005e01c1213c$a706f550$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Joseph,

Can you post some code to reproduce the error please?

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Joseph Shraibman
Sent: August 9, 2001 9:27 PM
To: pgsql-jdbc(at)postgresql(dot)org
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
jks(at)selectacast(dot)net
Increase signal to noise ratio. http://www.targabot.com

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas O'Dowd 2001-08-10 01:48:22 Re: NullPointerException on next()
Previous Message Joseph Shraibman 2001-08-10 01:26:53 NullPointerException on next()