tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasu Gandu <>
Subject NumberFormatException
Date Mon, 14 Apr 2003 20:14:50 GMT
When I try to convert a string into int why do I get this exception...
java.lang.NumberFormatException: null 
My class contains 
import java.util.*
I tried    int empid = Integer.parseInt(empidstr); and int empid =
Integer.valueOf(empidstr).intvalue(); In both ways I am getting this error.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message