Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Number format Exception for input String "

843840May 21 2009 — edited Jun 1 2009
Hi,

I have one jsp wherein i try to access a String array, i am getting a runtime error

NumberFormatException for input String "

the strange thing i noticed is " and also i am not converting any string to integer.

On the jsp i get
IllegalStateException.
while in the logs i get NumberFormatException.
ResultBean rrb = (ResultBean)request.getAttribute("ResultBean");
String[] strLastName 	= rrb.getLastName();
String[] strFirstName 	= rrb.getFirstName();
I get error while accessing the strFirstName element whereas i can access strLastName
the moment i try to access anything of strFirstName (even the length) i get IllegalStateException

I am using Jrun4.0,
can any one please suggest any solution.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2009
Added on May 21 2009
10 comments
890 views