[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
Tue Jul 23 10:12:26 EDT 2013


    [ https://issues.jboss.org/browse/DROOLS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791694#comment-12791694 ] 

RH Bugzilla Integration commented on DROOLS-197:
------------------------------------------------

Edson Tirelli <etirelli at redhat.com> made a comment on [bug 986483|https://bugzilla.redhat.com/show_bug.cgi?id=986483]

Lukas, Alessandro, what is the context for this ticket? Is it for 5.3.x or 6.x? If it is for 5, was it reported by a customer and we need to backport the fixes?

Just trying to understand what needs to be done here.
                
> 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
>              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