Rob Dennett <rob_dennett <at> tmit1.org> writes:

> Well I had already made all the objects serializable and it says it is 
> choking 
> on java.util.RandomAccessSubList.  I made sure to upgrade to the latest beta 
> just to make sure, but I am still getting the exception.  I can't find 
> anything that discusses this in detail.  Can someone give me an idea
> what is going on here or point me to some documentation?

It means you're calling the subList() method on a List to get another
List. The problem is that that sub-list is actually a RandomAccessSubList
which is not serializable. So, you may instead call 
new ArrayList(myList.subList()) instead of myList.subList().

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


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

Reply via email to