NullPointerException
От | Marcos |
---|---|
Тема | NullPointerException |
Дата | |
Msg-id | 398866CD.7E0B5A3@second.ival.es обсуждение исходный текст |
Список | pgsql-general |
hi, i have a null exception. if i make the query in the posgresql it runs correctly and none field is empty. in my servlet: after the query. String page = rs.getString(1); in the database: ref varchar(5), numpag varchar(2), <----- .... jserv.log: [02/08/2000 18:03:54:890 GMT-01:00] fmbusqueda: Getting: numpag [02/08/2000 18:03:54:892 GMT-01:00] java.lang.NullPointerException at postgresql.ResultSet.getString(Compiled Code) at fmbusqueda.Producto(fmbusqueda.java:113) at fmbusqueda.doGet(fmbusqueda.java:46) at javax.servlet.http.HttpServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jserv.JServConnection.processRequest(Compiled Code) at org.apache.jserv.JServConnection.run(Compiled Code) at java.lang.Thread.run(Compiled Code) thanks in advance, marcos marcos@ival.es
В списке pgsql-general по дате отправления: