Forums Register Login

how to tell if nullpointerexception is really a JDBC question

+Pie Number of slices to send: Send
Hi,

The sheriff moved my question (Another null pointer exception) to the JDBC forum but, as a real newbie, how can I tell that's what is causing the problem? When I get an Oracle error (e.g. ORA-xxxx: Unexpected end to SQL statement , etc. I can tell; but in this case?

Please let me know how I can determine this. I wasn't really looking for someone to debug my code for me but, rather, give me a tip or clue about where to start looking.
Thanks.
+Pie Number of slices to send: Send
You still haven't posted any example code to demonstrate your problem, so I'm partially guessing about things.

From your posts in that thread, your questions seemed to center on inserting a null reference into a database (as a number), and then wondering if that would cause a NullPointerException. So, it seemed that the thread was JDBC-specific.
+Pie Number of slices to send: Send
Looking through the stacktrace in your other post, would you happen to have a JSP called display.jsp in your app? If you do, then there's probably something in there where you're trying to display a numeric value (possibly also formatting it) and you don't have a valid number.
Why does your bag say "bombs"? The reason I ask is that my bag says "tiny ads" and it has stuff like this:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 630 times.
Similar Threads
Can I use array of beans of length greater that 500 suppose?
CMP EJB Creation with id generated by an independent class
MySQL
JDBC-ODBC Bridge
jdbc DRIVER for MS Sql
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:27:32.