[
https://jira.jboss.org/jira/browse/JBRULES-2029?page=com.atlassian.jira.p...
]
Edson Tirelli reassigned JBRULES-2029:
--------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
Race conditions in AbstractRuleBase
-----------------------------------
Key: JBRULES-2029
URL:
https://jira.jboss.org/jira/browse/JBRULES-2029
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.0.0.CR1
Environment: Windows, Drools CR1
Reporter: Dave Sinclair
Assignee: Edson Tirelli
Fix For: 5.0.0.GA
ReteooRuleBaseMultiThreadedTest is failing because of race conditions in
AbstractRuleBase
java.lang.NullPointerException
at org.drools.common.AbstractRuleBase.lock(AbstractRuleBase.java:408)
at org.drools.common.AbstractRuleBase.removePackage(AbstractRuleBase.java:655)
at
org.drools.reteoo.ReteooRuleBaseMultiThreadedTest$PackageModifier.doOperation(ReteooRuleBaseMultiThreadedTest.java:143)
at
org.drools.reteoo.ReteooRuleBaseMultiThreadedTest$BlockedThread.run(ReteooRuleBaseMultiThreadedTest.java:121)
junit.framework.AssertionFailedError: Exception in modifier thread expected:<false>
but was:<true>
at
org.drools.reteoo.ReteooRuleBaseMultiThreadedTest.testNewSessionWhileModifyingRuleBase(ReteooRuleBaseMultiThreadedTest.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
--
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