]
RH Bugzilla Integration commented on DROOLS-197:
------------------------------------------------
Mario Fusco <mfusco(a)redhat.com> made a comment on [bug
java.lang.Boolean cannot be cast to org.drools.spi.Activation when
used incremental kAgent + accumulate
-------------------------------------------------------------------------------------------------------
Key: DROOLS-197
URL:
https://issues.jboss.org/browse/DROOLS-197
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: Drools 5.3.0
Reporter: Alessandro Lazarotti
Assignee: Mario Fusco
Labels: brms-5.3
Attachments: SpiExceptionTest.java
When used accumulate and incremental changes from the kagent (drools.agent.newInstance as
false)the exception below is throwed:
{quote}
Exception in thread "Thread-0" java.lang.ClassCastException:
java.lang.Boolean cannot be cast to org.drools.spi.Activation
at
org.drools.reteoo.RuleTerminalNode$RTNCleanupAdapter.cleanUp(RuleTerminalNode.java:492)
at org.drools.reteoo.BetaNode.doRemove(BetaNode.java:381)
at org.drools.common.BaseNode.remove(BaseNode.java:105)
at org.drools.reteoo.RuleTerminalNode.doRemove(RuleTerminalNode.java:367)
at org.drools.common.BaseNode.remove(BaseNode.java:105)
{quote}
Unit test attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: