[jboss-jira] [JBoss JIRA] (DROOLS-197) java.lang.Boolean cannot be cast to org.drools.spi.Activation when used incremental kAgent + accumulate
Alessandro Lazarotti (JIRA)
jira-events at lists.jboss.org
Fri Jul 19 18:20:26 EDT 2013
Alessandro Lazarotti created DROOLS-197:
-------------------------------------------
Summary: 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: Mark Proctor
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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list