| Author |
exception error
|
mj zammit
Ranch Hand
Joined: Nov 16, 2008
Posts: 49
|
|
when i come to doing the following code: i get the following error: Exception: java.lang.NullPointerException what does this mean?
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8263
|
|
Is this a continuation of your previous topic? NullPointerException means you tried to invoke a method on an object reference that has not been initialized. If you print the exception stack trace (there's a method in Exception that does it) it will tell you what line the exception occurred on.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
mj zammit
Ranch Hand
Joined: Nov 16, 2008
Posts: 49
|
|
yes yes it does continue from the previous topic. I found out why it was not outputting the results now i am trying to fix it... I shall try out what you have suggested...
|
 |
 |
|
|
subject: exception error
|
|
|