With sliding window rule running, kie-server will fail to change the kie-jar's version

Solution Verified - Updated -

Issue

With sliding window rule running, kie-server will fail to change the kie-jar's version. The Exception looks like this:

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)

Environment

  • Red Hat JBoss BRMS
    • 6.1.2
  • Red Hat JBoss BPMSuite
    • 6.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content