]
RH Bugzilla Integration commented on DROOLS-1017:
-------------------------------------------------
Ryan Zhang <rzhang(a)redhat.com> changed the Status of [bug
NPE deleting an expired event in equality mode
----------------------------------------------
Key: DROOLS-1017
URL:
https://issues.jboss.org/browse/DROOLS-1017
Project: Drools
Issue Type: Bug
Reporter: Mario Fusco
Assignee: Mario Fusco
Fix For: 6.4.0.Beta1
Trying to delete an already expired event in equality mode causes the following NPE in
the TMS:
{code}
java.lang.NullPointerException
at org.drools.core.common.NamedEntryPoint.delete(NamedEntryPoint.java:506)
at org.drools.core.common.NamedEntryPoint.delete(NamedEntryPoint.java:442)
at org.drools.core.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1120)
at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:121)
at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74)
at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1003)
at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1346)
at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1284)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1303)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1293)
at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1274)
at
org.drools.compiler.integrationtests.CepEspTest.testDeleteExpiredEventWithTimestampAndEqualityKey(CepEspTest.java:5682)
{code}