| Author |
javalangnullpointerexception.
|
bobby reddy
Greenhorn
Joined: Nov 05, 2007
Posts: 27
|
|
Hello everyone, my jsp program displays the error message: "java.lang.nullpointerexception". could any one tell me know how to solve this error message and also how can we know to which field on the jsp this error message is reffering to? Thanks, bobby.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
This means that a reference in your code is null when you tried to use it. Without further details, it's impossible to say any more. Please read this.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
bobby reddy
Greenhorn
Joined: Nov 05, 2007
Posts: 27
|
|
for example: if i have three fields- f1,f2 and f3. how can we know for which field the code is null and i am using it. bobby
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56224
|
|
|
I could have nothing at all to do with your fields. You should start by posting the stack trace from the error.
|
 |
 |
|
|
subject: javalangnullpointerexception.
|
|
|