that line is this:
int id=Integer.getInteger(param.toString());  
i just convert a string to a integer ,why does it throw exception?
does the inject service request's getParameter method return a actual
String?

Thiago H. de Paula Figueiredo wrote:
> 
> Here:
> 
> Caused by: java.lang.NullPointerException
>       at cn.mcguo.banjia.components.Star.onSwitch(Star.java:61)
> 
> Thiago
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Converting-type-of-request-parameter-error-tp18624966p18630559.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to