[jboss-jira] [JBoss JIRA] (DROOLS-881) ClassCastException when kcontainer.updateToVersion() with sliding window rule running
RH Bugzilla Integration (JIRA)
issues at jboss.org
Tue Sep 22 04:07:02 EDT 2015
[ https://issues.jboss.org/browse/DROOLS-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13111123#comment-13111123 ]
RH Bugzilla Integration commented on DROOLS-881:
------------------------------------------------
Ryan Zhang <rzhang at redhat.com> changed the Status of [bug 1253162|https://bugzilla.redhat.com/show_bug.cgi?id=1253162] from MODIFIED to ON_QA
> ClassCastException when kcontainer.updateToVersion() with sliding window rule running
> -------------------------------------------------------------------------------------
>
> Key: DROOLS-881
> URL: https://issues.jboss.org/browse/DROOLS-881
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.3.0.CR1
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Fix For: 6.3.0.CR2
>
> Attachments: 01490327_standalone_reproducer.zip
>
>
> When you call kcontainer.updateToVersion() while running sliding window rules, you will the following Exception.
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list