[jboss-jira] [JBoss JIRA] (DROOLS-70) NPE when an event expires during evaluation of accumulate when run as fireUntilHalt()

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Thu Mar 7 08:01:46 EST 2013


     [ https://issues.jboss.org/browse/DROOLS-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated DROOLS-70:
------------------------------------------

        Bugzilla Update: Perform
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=874187

    
> 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