[jboss-jira] [JBoss JIRA] (DROOLS-70) NPE when an event expires during evaluation of accumulate when run as fireUntilHalt()
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Thu Mar 7 07:59:43 EST 2013
Mario Fusco created DROOLS-70:
---------------------------------
Summary: NPE when an event expires during evaluation of accumulate when run as fireUntilHalt()
Key: DROOLS-70
URL: https://issues.jboss.org/browse/DROOLS-70
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Edson Tirelli
The AccumulateNode.getFirstMatch() throws NPE when some already collected event expires. The problem occurs when thread A is running StatefulKnowledgeSession.fireUntilHalt() while thread B is inserting new events into the session.
The problem occurs when @expires is defined on the event. The lower the @expires value, the more likely the NPE occurs.
I added the testEventExpirationDuringAccumulate() to the CepEspTest that reproduces this issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list