Hello,
we are using official 5.0 release and sometimes (very rarely) we get
following error:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$ValueIterator.next(HashMap.java:822)
at
org.drools.reteoo.ClassObjectTypeConf.getMatchingObjectTypes(ClassObjectTypeConf.java:171)
at
org.drools.reteoo.ClassObjectTypeConf.getObjectTypeNodes(ClassObjectTypeConf.java:163)
at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:143)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1046)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1001)
at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:788)
at org.drools.process.command.InsertObjectCommand.execute(InsertObjectCommand.java:22)
at org.drools.process.command.InsertObjectCommand.execute(InsertObjectCommand.java:7)
at org.drools.runtime.impl.BatchExecutionImpl.execute(BatchExecutionImpl.java:23)
at org.drools.runtime.impl.BatchExecutionImpl.execute(BatchExecutionImpl.java:9)
at
org.drools.impl.StatelessKnowledgeSessionImpl.execute(StatelessKnowledgeSessionImpl.java:225)
at
org.fornax.cartridges.sculptor.framework.drools.DroolsAdvice.applyCompanyPolicy(DroolsAdvice.java:150)
We are using AspectJ advice for starting rule evaluation for every
service call. Hope we are doing everything right in code. Full source
code of advice can be found at:
http://fisheye3.atlassian.com/browse/fornax/trunk/cartridges/sculptor/for...
Regards
Pavel