One thing that can be done here is to initialize wave.getState() before and 
give it a generic value. This can be changed when you access this variable 
again in the loop so you won't get the null value there.

--
Regards,
Vikram Dhillon

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to