tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Kazmier, CEM R&D" <philip.kazm...@nice.com>
Subject RE: NullPointerException when using JDBC ResultSet next() method
Date Tue, 09 Apr 2002 14:02:52 GMT
Thank you Giorgio!  That was it!  Boy do I feel stupid.

Thanks again.

-----Original Message-----
From: Giorgio Ponza [mailto:giorgio@opla.it]
Sent: Tuesday, April 09, 2002 2:15 AM
To: Tomcat Users List
Subject: Re: NullPointerException when using JDBC ResultSet next()
method


sorry, but you called
ResultSet rset = stmt.executeQuery ("select sc_id from bug_status_codes");
and then used

rs.next()

maybe they must be all rs or all rset.
Bye
Giorgio


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message