Adam Heath wrote:
> Scott Gray wrote:
>> Yeah its a problem on the head, something to do with rendering
>> content_categories.ftl.
> 
> Ok, I see the exception.  javolution collections don't support nulls,
> which suck.

I was incorrect in my diagnosis.  The actual problem is a bug in
javoution.util.FastList.

The javadocs say that you can do structural changes to the list returned
by List.subList(), and they will show in the backed-list.  They then go
on to say changes to the backed list may or may not be shown in the
sublist(ie, they are undefined).

For example, you can do list.subList(from, to).clear().

However, javolution doesn't allow one to do structural changes to the
sublist; that's why there's an exception during the add() call.

Anyways, I fixed this in 586639, by switching FreeMarkerWorker back to
ArrayList.

Reply via email to