You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Gautam Deb <ga...@in2m.com> on 2007/07/16 15:49:17 UTC

Issues with LRUMap - Can we updae commons-collections.jar ?

We are using OFBiz from SVN version 424240 in our production server. We 
are facing frequent issues with the the LRUMap class in Apache 
commons-collections.jar. A sample error log is -

java.lang.NullPointerException
org.apache.commons.collections.map.LRUMap.reuseMapping(LRUMap.java:272)
org.apache.commons.collections.map.LRUMap.addMapping(LRUMap.java:243)
org.apache.commons.collections.map.AbstractHashedMap.put(AbstractHashedMap.java:282)
org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:93)
org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:305)
org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:290)
org.ofbiz.entity.cache.AbstractEntityConditionCache.getOrCreateConditionCache(AbstractEntityConditionCache.java:111)
org.ofbiz.entity.cache.AbstractEntityConditionCache.put(AbstractEntityConditionCache.java:63)
org.ofbiz.entity.cache.EntityListCache.put(EntityListCache.java:71)
org.ofbiz.entity.cache.Cache.put(Cache.java:75)
org.ofbiz.entity.GenericDelegator.findByConditionCache(GenericDelegator.java:1747)
org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1614)
org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1604)
org.ofbiz.product.price.PriceServices.calculateProductPrice(PriceServices.java:755)


We are planning to update the commons-collections.jar to the latest 
available stable version. Can anybody give any pointer if there is any 
known issues we can face after this update.

Regards,
Gautam Deb

Re: Issues with LRUMap - Can we updae commons-collections.jar ?

Posted by BJ Freeman <bj...@free-man.net>.
you can look at the current ver 4.0 and see what version works with the
ver 4. starting at svn svn531956
found in
framework/base/lib

Specification-Vendor: Apache Software Foundation
Specification-Title: Commons Collections
Implementation-Version: 3.1


Gautam Deb sent the following on 7/16/2007 6:49 AM:
> We are using OFBiz from SVN version 424240 in our production server. We
> are facing frequent issues with the the LRUMap class in Apache
> commons-collections.jar. A sample error log is -
> 
> java.lang.NullPointerException
> org.apache.commons.collections.map.LRUMap.reuseMapping(LRUMap.java:272)
> org.apache.commons.collections.map.LRUMap.addMapping(LRUMap.java:243)
> org.apache.commons.collections.map.AbstractHashedMap.put(AbstractHashedMap.java:282)
> 
> org.ofbiz.base.util.cache.CacheLineTable.put(CacheLineTable.java:93)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:305)
> org.ofbiz.base.util.cache.UtilCache.put(UtilCache.java:290)
> org.ofbiz.entity.cache.AbstractEntityConditionCache.getOrCreateConditionCache(AbstractEntityConditionCache.java:111)
> 
> org.ofbiz.entity.cache.AbstractEntityConditionCache.put(AbstractEntityConditionCache.java:63)
> 
> org.ofbiz.entity.cache.EntityListCache.put(EntityListCache.java:71)
> org.ofbiz.entity.cache.Cache.put(Cache.java:75)
> org.ofbiz.entity.GenericDelegator.findByConditionCache(GenericDelegator.java:1747)
> 
> org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1614)
> 
> org.ofbiz.entity.GenericDelegator.findByAndCache(GenericDelegator.java:1604)
> 
> org.ofbiz.product.price.PriceServices.calculateProductPrice(PriceServices.java:755)
> 
> 
> 
> We are planning to update the commons-collections.jar to the latest
> available stable version. Can anybody give any pointer if there is any
> known issues we can face after this update.
> 
> Regards,
> Gautam Deb
>