--- postgres/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java    2004-11-19 04:18:51.000000000 +0100
+++ ./AbstractJdbc2ResultSet.java       2004-12-17 10:30:37.062117093 +0100
@@ -257,6 +257,9 @@
 
     public boolean first() throws SQLException
     {
+        if (rows == null)
+            throw new PSQLException(GT.tr("This ResultSet is closed."), PSQLState.CONNECTION_DOES_NOT_EXIST);
+
         checkScrollable();
 
         if (rows.size() <= 0)
