RE: NullPointerException on next() - Mailing list pgsql-jdbc

From Dave Cramer
Subject RE: NullPointerException on next()
Date
Msg-id 005e01c1213c$a706f550$8201a8c0@inspiron
Whole thread Raw
In response to NullPointerException on next()  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: NullPointerException on next()
List pgsql-jdbc
Joseph,

Can you post some code to reproduce the error please?

Dave

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


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



pgsql-jdbc by date:

Previous
From: Joseph Shraibman
Date:
Subject: NullPointerException on next()
Next
From: "Thomas O'Dowd"
Date:
Subject: Re: NullPointerException on next()