-
Bug
-
Resolution: Done
-
Major
-
6.3.0.CR1
-
None
When you call kcontainer.updateToVersion() while running sliding window rules, you will the following Exception.
Exception in thread "pool-23-thread-2" java.lang.ClassCastException: org.drools.core.reteoo.PathMemory cannot be cast to org.drools.core.reteoo.WindowNode$WindowMemory at org.drools.core.reteoo.WindowNode.retractRightTuple(WindowNode.java:189) at org.drools.core.reteoo.ObjectTypeNode.doRetractObject(ObjectTypeNode.java:325) at org.drools.core.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:317) at org.drools.core.impl.StatefulKnowledgeSessionImpl$WorkingMemoryReteExpireAction.execute(StatefulKnowledgeSessionImpl.java:1770) at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:96) at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:69) at org.drools.core.impl.StatefulKnowledgeSessionImpl.flushPropagations(StatefulKnowledgeSessionImpl.java:2007) at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1289) at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1306) at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1293) at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1272) at com.sample.CallKjarTest$2.run(CallKjarTest.java:67) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
- is related to
-
DROOLS-853 Change Rule Containing Window Time
- Closed