[jboss-jira] [JBoss JIRA] Created: (JBRULES-2029) Race conditions in AbstractRuleBase
Dave Sinclair (JIRA)
jira-events at lists.jboss.org
Wed Mar 25 10:31:23 EDT 2009
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: Mark Proctor
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
More information about the jboss-jira
mailing list