Hello,
Have any one encountered problems when you use a servlet to connect to SQL database? below is part of my program:
>1:rs = stmt.executeQuery("select * from IDInfo where ...");
>2:if(rs.next())
>3: pass=rs.getString("Password");
It will stop at line3, and there is no exception! but it seems to have some error msg. in the ServerCore error log. Here is the msg.:

6007 | Servlet service fails: "test: java.lang.NullPointerException".
4010 | Content fetching failed. Request: 127.0.0.1:1899 --> POST http://myIPAddress/test/, Exception: null

Hava any one of you encountered this problem before? Or can a servlet connect to SQLserver on Nokia Activ Server?
By the way, I use NAS directly as a application server.

Regards
Ark