[jboss-jira] [JBoss JIRA] (DROOLS-197) java.lang.Boolean cannot be cast to org.drools.spi.Activation when used incremental kAgent + accumulate
RH Bugzilla Integration (JIRA)
jira-events at lists.jboss.org
Mon Sep 16 08:15:04 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804451#comment-12804451 ]
RH Bugzilla Integration commented on DROOLS-197:
------------------------------------------------
Mario Fusco <mfusco at redhat.com> made a comment on [bug 986483|https://bugzilla.redhat.com/show_bug.cgi?id=986483]
Fixed by https://github.com/droolsjbpm/drools/commit/f6b68f5cb#L1L492
> 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: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list