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