[JBoss JIRA] (JBRULES-3269) Drools NPE on SlidingTimeWindowComparator
by Diego Naya (Created) (JIRA)
Drools NPE on SlidingTimeWindowComparator
-----------------------------------------
Key: JBRULES-3269
URL: https://issues.jboss.org/browse/JBRULES-3269
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.3.0.Final
Reporter: Diego Naya
Assignee: Mark Proctor
Exception in thread "Thread-0" org.drools.RuntimeDroolsException: Unexpected exception executing action org.drools.rule.SlidingTimeWindow$BehaviorExpireWMAction@1737712
at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:973)
at org.drools.common.DefaultAgenda.fireUntilHalt(DefaultAgenda.java:1231)
at org.drools.common.AbstractWorkingMemory.fireUntilHalt(AbstractWorkingMemory.java:753)
at org.drools.common.AbstractWorkingMemory.fireUntilHalt(AbstractWorkingMemory.java:729)
at org.drools.impl.StatefulKnowledgeSessionImpl.fireUntilHalt(StatefulKnowledgeSessionImpl.java:234)
at com.sample.DroolsTest$1.run(DroolsTest.java:35)
Caused by: java.lang.NullPointerException
at org.drools.rule.SlidingTimeWindow$SlidingTimeWindowComparator.compare(SlidingTimeWindow.java:232)
at org.drools.rule.SlidingTimeWindow$SlidingTimeWindowComparator.compare(SlidingTimeWindow.java:227)
at java.util.PriorityQueue.siftDownUsingComparator(PriorityQueue.java:661)
at java.util.PriorityQueue.siftDown(PriorityQueue.java:629)
at java.util.PriorityQueue.poll(PriorityQueue.java:540)
at java.util.AbstractQueue.remove(AbstractQueue.java:114)
at org.drools.rule.SlidingTimeWindow.expireTuples(SlidingTimeWindow.java:164)
at org.drools.rule.SlidingTimeWindow$BehaviorExpireWMAction.execute(SlidingTimeWindow.java:431)
at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:971)
... 5 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years