[JBoss JIRA] (DROOLS-197) java.lang.Boolean cannot be cast to org.drools.spi.Activation when used incremental kAgent + accumulate
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/DROOLS-197?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration updated DROOLS-197:
-------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=986483
> 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
12 years, 12 months
[JBoss JIRA] (DROOLS-196) NPE when used Timers with temporal operators in the LHS pattern
by Davide Sottara (JIRA)
[ https://issues.jboss.org/browse/DROOLS-196?page=com.atlassian.jira.plugin... ]
Davide Sottara commented on DROOLS-196:
---------------------------------------
no exception with 5.6 either, after running the test for 50 cycles
> NPE when used Timers with temporal operators in the LHS pattern
> ---------------------------------------------------------------
>
> Key: DROOLS-196
> URL: https://issues.jboss.org/browse/DROOLS-196
> 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: LoopTestTimer.java
>
>
> NPE when used Timers with temporal operators. When the rule is invalidated by the clock we see:
> {quote}
> Unable to execute timer job!
> java.lang.NullPointerException
> at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1236)
> at org.drools.common.Scheduler$ActivationTimerJob.execute(Scheduler.java:91)
> at org.drools.time.SelfRemovalJob.execute(SelfRemovalJob.java:15)
> at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
> at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> {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
12 years, 12 months
[JBoss JIRA] (DROOLS-197) java.lang.Boolean cannot be cast to org.drools.spi.Activation when used incremental kAgent + accumulate
by Alessandro Lazarotti (JIRA)
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
12 years, 12 months
[JBoss JIRA] (DROOLS-196) NPE when used Timers with temporal operators in the LHS pattern
by Alessandro Lazarotti (JIRA)
[ https://issues.jboss.org/browse/DROOLS-196?page=com.atlassian.jira.plugin... ]
Alessandro Lazarotti updated DROOLS-196:
----------------------------------------
Attachment: LoopTestTimer.java
> NPE when used Timers with temporal operators in the LHS pattern
> ---------------------------------------------------------------
>
> Key: DROOLS-196
> URL: https://issues.jboss.org/browse/DROOLS-196
> 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: LoopTestTimer.java
>
>
> NPE when used Timers with temporal operators. When the rule is invalidated by the clock we see:
> {quote}
> Unable to execute timer job!
> java.lang.NullPointerException
> at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1236)
> at org.drools.common.Scheduler$ActivationTimerJob.execute(Scheduler.java:91)
> at org.drools.time.SelfRemovalJob.execute(SelfRemovalJob.java:15)
> at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
> at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> {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
12 years, 12 months
[JBoss JIRA] (DROOLS-196) NPE when used Timers with temporal operators in the LHS pattern
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/DROOLS-196?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration updated DROOLS-196:
-------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=986479
> NPE when used Timers with temporal operators in the LHS pattern
> ---------------------------------------------------------------
>
> Key: DROOLS-196
> URL: https://issues.jboss.org/browse/DROOLS-196
> 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: LoopTestTimer.java
>
>
> NPE when used Timers with temporal operators. When the rule is invalidated by the clock we see:
> {quote}
> Unable to execute timer job!
> java.lang.NullPointerException
> at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1236)
> at org.drools.common.Scheduler$ActivationTimerJob.execute(Scheduler.java:91)
> at org.drools.time.SelfRemovalJob.execute(SelfRemovalJob.java:15)
> at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
> at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> {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
12 years, 12 months
[JBoss JIRA] (DROOLS-196) NPE when used Timers with temporal operators in the LHS pattern
by Alessandro Lazarotti (JIRA)
Alessandro Lazarotti created DROOLS-196:
-------------------------------------------
Summary: NPE when used Timers with temporal operators in the LHS pattern
Key: DROOLS-196
URL: https://issues.jboss.org/browse/DROOLS-196
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: Drools 5.3.0
Reporter: Alessandro Lazarotti
Assignee: Mark Proctor
NPE when used Timers with temporal operators. When the rule is invalidated by the clock we see:
{quote}
Unable to execute timer job!
java.lang.NullPointerException
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1236)
at org.drools.common.Scheduler$ActivationTimerJob.execute(Scheduler.java:91)
at org.drools.time.SelfRemovalJob.execute(SelfRemovalJob.java:15)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:47)
at org.drools.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:12)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
{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
12 years, 12 months