I was facing the similar type of issue:
Code Snippet :
${xx.id}
There was a space after orderlist like this : "${orderList} "
because of which the xx variable was getting coverted into String and was not able to call xx.id.
So make sure about space. They play crucial role sometimes. :p