D
DJ Majestik
Newbie question here,
I have been going through Java error messages sent to me at work here
to get acclimated to the Java language (PHP, .NET programmer in the
past).
Is there any way of seeing what variables have been set by the user
using the application? In other words, if someone submits a form and
there is a first name and last name field, can I see in my error
display those variables? So with the backtrace, all the "global"
variables would be displayed? I might then see a NullPointerException
because someone didn't enter the first name, and I did not catch it.
If not, is there some links on the web explaining how to better read a
Java backtrace and make some sense out of it? I see a lot of
NullPointerExceptions, and although I know all the things that could be
causing it, it is hard to pinpoint sometimes the exact source of the
error (even with the line numbers).
If anyone has any ideas, would love to hear them. Thanks!
JJ
I have been going through Java error messages sent to me at work here
to get acclimated to the Java language (PHP, .NET programmer in the
past).
Is there any way of seeing what variables have been set by the user
using the application? In other words, if someone submits a form and
there is a first name and last name field, can I see in my error
display those variables? So with the backtrace, all the "global"
variables would be displayed? I might then see a NullPointerException
because someone didn't enter the first name, and I did not catch it.
If not, is there some links on the web explaining how to better read a
Java backtrace and make some sense out of it? I see a lot of
NullPointerExceptions, and although I know all the things that could be
causing it, it is hard to pinpoint sometimes the exact source of the
error (even with the line numbers).
If anyone has any ideas, would love to hear them. Thanks!
JJ