Howdy, Can you prove the input is the same? ;) BTW, Senor Schultz is probably right about marking this as off-topic.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Alexander Pomansky [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 28, 2003 3:46 PM >To: Tomcat Users List >Subject: Re: >oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat emen >t.java:1082) > >But it works on first run and does not on second with same input > >Thanks > >On Tuesday 28 October 2003 03:35 pm, Shapira, Yoav wrote: >> Howdy, >> >> >java.lang.NullPointerException >> > at >> >oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat >> >> emen >> >> >t.java:1082) >> > at cs615.lzp.SellForm.doPost(SellForm.java:34) >> >> I would look at your form, line 34, and maybe not call setString on the >> PreparedStatement object if the form input is null. Or maybe call >> setString with "". Or maybe add other input validation before/after the >> form is submitted. >> >> Yoav Shapira >> >> >> >> This e-mail, including any attachments, is a confidential business >> communication, and may contain information that is confidential, >> proprietary and/or privileged. This e-mail is intended only for the >> individual(s) to whom it is addressed, and may not be saved, copied, >> printed, disclosed or used by anyone else. If you are not the(an) >intended >> recipient, please immediately delete this e-mail from your computer >system >> and notify the sender. Thank you. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]