| Author |
NullPointerException
|
Satyajeet Kadam
Ranch Hand
Joined: Oct 19, 2006
Posts: 202
|
|
When i execute this query by giving email explicity it executes fine but from application i receive Null poibter exception please help
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Whatever admin is must be null.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Satyajeet Kadam
Ranch Hand
Joined: Oct 19, 2006
Posts: 202
|
|
thanks for your reply, i have already done that see my entire code, my entire code console
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Whatever you are doing on line 66 of AdminManager must be refering to a null object. I can't say for sure - since I don't know what is happening on that line - but my guess is you have not assigned a value to admin. Looking though your code this does seem to be the case. You seem to have a variable called cadmin which you use to refer to a Statement instance. I don't see anywhere that you do the same for your variable admin.
|
 |
 |
|
|
subject: NullPointerException
|
|
|