cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Johnson <>
Subject Exception with HashSet.size() in JXTemplate
Date Thu, 05 Aug 2004 21:55:14 GMT
I'm getting the following exception when I try to get the size of a HashSet.

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
size() : unknown type : class java.util.HashSet

I can run a <jx:forEach> on the HashSet and it works fine, but when I
try and get the size I get an error.  Here's what I'm doing to get the
error:  ${item.getAttributes().size()}

item.getAttributes() returns a HashSet with 2 items in it.


- Brent

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message