I check the ofbiz code files for any changes since last week and now. I did not see any.
I have a trunk version that does not have this error from last week.


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>


Adam Heath sent the following on 6/25/2010 1:20 PM:
BJ Freeman wrote:
as i said don't believe it is you.
however from my email on the user ML
LimitedSubContentCacheTransform.java has not been touched since the 4th.
here is the log from the site
--------------------------------------------------------------
java.lang.UnsupportedOperationException
javolution.util.FastCollection.add(FastCollection.java:169)
org.ofbiz.content.webapp.ftl.LimitedSubContentCacheTransform$1.prepCtx(LimitedSubContentCacheTransform.java:264)
org.ofbiz.content.webapp.ftl.LimitedSubContentCacheTransform$1.getNextMatchingEntity(LimitedSubContentCacheTransform.java:319)
org.ofbiz.content.webapp.ftl.LimitedSubContentCacheTransform$1.afterBody(LimitedSubContentCacheTransform.java:203)

As always, report the full exception, and steps to reproduce.

At a guess, this is due to a FastMap having keySet() or values() be
called, and upper-level code then trying to do an add() on the
resulting collection.

This is not a bug in javolution, or in the internal code in ofbiz that
returns a keySet() or values() directly.  The bug is that the
low-level code is attempting to modify the collection; it shouldn't be
doing that.


Reply via email to