Hello,
I am trying to update a record in table as follows:
try{
....
r = stmt.executeUpdate("UPDATE SCS003 SET C3IFLG=\'"
+ c3iflg + "\', C3RESP=\'" + c3resp + "\' WHERE
C3CONO=" + c3cono);
..}
catch(SQLException e) {out.println(e);}
catch(Exception error) {out.println(error);)
Now, I keep getting a java.lang.NullPointerException
error. Its being caught at Exception error.
Is there any way by which I could get a more detailed
message because before the update sql, I print out
the values of the fields c3iflg, c3resp, and c3cono
and they are all perfect.
Any suggestions/ideas?





_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to