[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2418) Drools Session insert ConcurrentModificationException in Multithreading Enviroment
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Wed Jun 30 15:25:46 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli resolved JBRULES-2418.
------------------------------------
Resolution: Done
Thanks for reporting. Problem fixed as part of the linked tickets. I am closing this, but let us know if you still face problems using trunk.
> Drools Session insert ConcurrentModificationException in Multithreading Enviroment
> ----------------------------------------------------------------------------------
>
> Key: JBRULES-2418
> URL: https://jira.jboss.org/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: Edson Tirelli
> Priority: Critical
> Fix For: 5.1.0.CR1
>
> Attachments: DroolsCondition.java
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list