Your have 2 ResultSets: rs and rset.

You assign to the rset but call rs.next().
So rs is null.


> -----Urspr�ngliche Nachricht-----
> Von: Philip Kazmier, CEM R&D [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 8. April 2002 23:55
> An: 'Tomcat Users List'
> Betreff: RE: NullPointerException when using JDBC ResultSet next()
> method
>

> ResultSet rs = null;

> ResultSet rset = stmt.executeQuery ("select sc_id from
bug_status_codes");

> while(rs.next()) 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to