Hi Mauro,
From the code snippet that you provided it seems that its trying to get 0th element from an array without checking its size.This may result in index out of bound exception if array list is empty.
You can put the check of size(it should be greater than 0) before getting element at 0th index from an array list.
Thanks and Best Regards,
Ankit
-------------------------------------------------------------------------------- --------------------------
AnkitChaudhary |
ankchaudhary@infocepts.com | www.infocepts.com
-------------------------------------------------------------------------------- ---------------------------