[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1888) Concurrency issue in MultithreadedTest

Andreas Kohn (JIRA) jira-events at lists.jboss.org
Tue Jun 15 05:14:46 EDT 2010


    [ https://jira.jboss.org/browse/JBRULES-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12535726#action_12535726 ] 

Andreas Kohn commented on JBRULES-1888:
---------------------------------------

The CMEs in ClassObjectTypeConf are the same ones as reported in JBRULES-2346.

> Concurrency issue in MultithreadedTest
> --------------------------------------
>
>                 Key: JBRULES-1888
>                 URL: https://jira.jboss.org/browse/JBRULES-1888
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-compiler, drools-compiler (expert)
>            Reporter: Mark Proctor
>            Assignee: Mark Proctor
>             Fix For: 5.0.0.CR1
>
>         Attachments: Rete.java
>
>
> MultithreadedTest.restRuleBaseConcurrentCreation sometimes has this 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.EntryPointNode.updateSink(EntryPointNode.java:283)
> 	at org.drools.reteoo.ObjectTypeNode.attach(ObjectTypeNode.java:276)
> 	at org.drools.reteoo.builder.PatternBuilder.attachObjectTypeNode(PatternBuilder.java:186)
> 	at org.drools.reteoo.ClassObjectTypeConf.<init>(ClassObjectTypeConf.java:94)
> 	at org.drools.common.ObjectTypeConfigurationRegistry.getObjectTypeConf(ObjectTypeConfigurationRegistry.java:58)thread-6 failed: null
> 	at org.drools.reteoo.Rete.assertObject(Rete.java:109)
> 	at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:207)
> 	at org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteAssertAction.execute(ReteooWorkingMemory.java:275)
> 	at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:1398)
> 	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1005)
> 	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:968)
> 	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:740)
> 	at org.drools.integrationtests.MultithreadTest$RulebaseRunner.run(MultithreadTest.java:125)
> 	at java.lang.Thread.run(Thread.java:619)

-- 
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