> I believe this is result of casting or converting a string to 
> an integer
> where the string is not an integer
> 
> For example somwhere in the program you would have
> String str = "456";        // this is suppose to be integers but the
> exception is raised if they are not and Java tries to convert them to
> integers.
>                                     // meaning you might have 
> String str =
> "blahblah";
> Integer num = new Integer (str);    // this conversion will rais the
> NumberFormatException.

I believe, from Brandon's post, that he understands the concept of a
NumberFormatException.  He real question is why it is occurring and as
you can see in his stack trace:

> 2001-08-27 02:04:14 - ContextManager: Error reading request, ignored -
> java.lang.NumberFormatException: 3379


the String which is trying to be interpreted seems to be 3379 which is
a perfectly valid Number(providing there are no "invisible" whitespace
characters after the 9.

I would pose that this is a bug and would suggest searching the developer
list to see if anyone has mentioned this one.

Also, check all your config/xml files and make sure there is no whitespace
where there shouldn't be.  A good idea would be to search for a file
containing
the string 3379.

Good Luck.


---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com

Reply via email to