|
I am getting ConcurrentModificationException in
createPartyRelationship service. The errors are related to updating of
cache on creating of party relationship generic value. This does not
happens every time. I am not able to identify what could be causing
the error assuming that cache modification are synchronized in
CacheLineTable.
Can anybody give any clues.
Pradeep
2007-07-28 16:13:27,956 (TP-Processor206)
[SimpleMethod.java:runSubOps:925 :ERROR] ::
---- runtime exception report --------------------------------------------------
Error in simple-method operation [<create-value/>]:
java.util.ConcurrentModificationException
Exception: java.util.ConcurrentModificationException
Message: null
---- stack trace ---------------------------------------------------------------
java.util.ConcurrentModificationException
org.apache.commons.collections.map.AbstractLinkedMap$LinkIterator.nextEntry(AbstractLinkedMap.java:559)
org.apache.commons.collections.map.AbstractLinkedMap$KeySetIterator.next(AbstractLinkedMap.java:459)
java.util.AbstractCollection.addAll(AbstractCollection.java:319)
org.ofbiz.base.util.cache.CacheLineTable.keySet(CacheLineTable.java:184)
org.ofbiz.base.util.cache.UtilCache.getCacheLineKeys(UtilCache.java:586)
org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:191)
org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:170)
org.ofbiz.entity.cache.AbstractEntityConditionCache.storeHook(AbstractEntityConditionCache.java:145)
org.ofbiz.entity.cache.Cache.remove(Cache.java:119)
org.ofbiz.entity.GenericDelegator.clearCacheLine(GenericDelegator.java:2269)
org.ofbiz.entity.GenericDelegator.clearCacheLine(GenericDelegator.java:2254)
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:579)
org.ofbiz.minilang.method.entityops.CreateValue.exec(CreateValue.java:65)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:920)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:560)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:107)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:89)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:77)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:52)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:338)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:212)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:114)
|