[jboss-jira] [JBoss JIRA] Created: (JBRULES-2418) Drools Session insert ConcurrentModificationException in Multithreading Enviroment
Davide Carnevali (JIRA)
jira-events at lists.jboss.org
Sat Jan 30 18:51:19 EST 2010
Drools Session insert ConcurrentModificationException in Multithreading Enviroment
----------------------------------------------------------------------------------
Key: JBRULES-2418
URL: https://jira.jboss.org/jira/browse/JBRULES-2418
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.0.1.FINAL
Environment: Aix on Websphere 6.1 - IBM Java 5
Reporter: Davide Carnevali
Assignee: Mark Proctor
Priority: Critical
In multithreading enviroment (with 50 active thread) sometimes occurs a ConcurrentModificationException , the complete stacktrace
Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:1091)
at java.util.HashMap$ValueIterator.next(HashMap.java:1122)
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 it.vtfinance.vtpie.mlp.bpm.conditions.DroolsCondition.passesCondition(DroolsCondition.java:52)
at com.opensymphony.workflow.AbstractWorkflow.passesCondition(AbstractWorkflow.java:904)
... 24 more
DroolsCondition is SINGLETONE, all thread use a same RuleBase but creates a new Session for each Thread.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list