| Author |
NullFormatException : Null
|
ganesh dengale
Greenhorn
Joined: Feb 22, 2007
Posts: 6
|
|
from my J2me Code I am accessing a servlet but i'm facing above error. My J2me & Servlet Code Snippets are as follow.. J2me Code Snippet Servlet Code snippet [BSouther: Added UBB CODE tags] [ March 30, 2007: Message edited by: Ben Souther ]
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Look at the line the exception is being thown at. An object reference in that line points to null.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
ganesh dengale
Greenhorn
Joined: Feb 22, 2007
Posts: 6
|
|
|
sorry i couldnot get what you want to say
|
 |
ganesh dengale
Greenhorn
Joined: Feb 22, 2007
Posts: 6
|
|
Error I got is as follows
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
java.lang.NumberFormatException This is thrown from Integer.parseInt(String) when the value you try to parse cannot be interpreted as an integer. Look at the code on line 18 of your CollectionDetails servlet and check the value you are trying to parse is not null and a parsable value (i.e. its not a letter or a floating point number, or some other non-numeric character)
|
 |
 |
|
|
subject: NullFormatException : Null
|
|
|