That did the trick.  I was looking in the wrong page for the error.  I have a 
dummy home page that initializes the object graph with some test data and it 
was calling subList.

Thanks for your help,
Rob

-----Original Message-----
From: Kent Tong [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 28, 2005 10:27 AM
To: [email protected]
Subject: Re: Re: Datasqueezers and strategies

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]


-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 9/27/2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.8/113 - Release Date: 9/27/2005
 

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

Reply via email to